Skip to content

Commit

Permalink
Don't drop poll creation form data on account change
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Oct 29, 2024
1 parent 66d38e8 commit 3e35156
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/providers/EthereumProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const EthereumContextProvider: FC<PropsWithChildren> = ({ children }) =>
},
userAddress,
isProviderAvailable: !!ethProvider,
isConnected: userAddress !== ZeroAddress,
isConnected: state.status === ConnectionStatus.Connected,
isHomeChain,
explorerBaseUrl,
connectWallet: connect,
Expand Down

0 comments on commit 3e35156

Please sign in to comment.