Skip to content

Commit

Permalink
rm unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
shafu0x committed Oct 7, 2022
1 parent 66cfd90 commit 2b88ec7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/layout/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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 (
Expand Down

1 comment on commit 2b88ec7

@vercel
Copy link

@vercel vercel bot commented on 2b88ec7 Oct 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.