diff --git a/src/components/layout/Navbar.jsx b/src/components/layout/Navbar.jsx index f482409..8342556 100644 --- a/src/components/layout/Navbar.jsx +++ b/src/components/layout/Navbar.jsx @@ -10,8 +10,7 @@ import { CONTRACT_DYAD } from "../../consts/contract"; export const NavBar = ({ tvl }) => { const { address } = useAccount(); const { disconnect } = useDisconnect(); - const { connect, connectors, error, isLoading, pendingConnector } = - useConnect(); + const { connect, connectors } = useConnect(); const [balanceOf, setBalanceOf] = useState(0); @@ -24,9 +23,6 @@ export const NavBar = ({ tvl }) => { console.log("balanceOf", data); setBalanceOf(parseInt(data._hex) / 10 ** 18); }, - onError: (e) => { - console.log("balanceOf", e); - }, }); return (