Skip to content

Commit

Permalink
Improve code in Navbar component
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsmiarowski committed Dec 13, 2023
1 parent 790c240 commit aa77615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ const Navbar: FC = () => {

useEffect(() => {
if (ledgerLiveAccountAddress) {
dispatch(walletConnected(ledgerLiveAccountAddress || ""))
dispatch(walletConnected(ledgerLiveAccountAddress))
}
}, [ledgerLiveAccountAddress])
}, [ledgerLiveAccountAddress, dispatch])

return (
<NavbarComponent
Expand Down

0 comments on commit aa77615

Please sign in to comment.