Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
paulclindo committed Sep 7, 2023
1 parent c652c92 commit 0b5a363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/milkomeda-wsc-ui/src/components/ConnectWSC.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import defaultTheme from "../styles/defaultTheme";
import { ThemeProvider } from "styled-components";

import { useConnectCallback, useConnectCallbackProps } from "../hooks/useConnectCallback";
import { useAccount, useNetwork, useQuery } from "wagmi";
import { useAccount, useQuery } from "wagmi";
import { EVMTokenBalance, PendingTx, WSCLib } from "milkomeda-wsc";
import { OriginAmount } from "milkomeda-wsc/build/CardanoPendingManger";

Expand Down Expand Up @@ -154,7 +154,7 @@ export const ConnectWSCProvider: React.FC<ConnectKitProviderProps> = ({

// wsc connector
const { connector: activeConnector } = useAccount();
const { chain } = useNetwork();
// const { chain } = useNetwork();
const isWSCConnected = activeConnector?.id?.includes("wsc") ?? false;
const { data: wscInfo, error } = useQuery(["wsc-info"], () => loadWSCInfo(activeConnector), {
enabled: !!isWSCConnected,
Expand Down

0 comments on commit 0b5a363

Please sign in to comment.