Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed May 9, 2023
1 parent 7025323 commit 3a7f05b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/provider/masa-context-provider.tsx
Expand Up @@ -77,13 +77,16 @@ export const MasaContextProvider = ({
useSession(masaInstance, walletAddress);

// provider
const { isLoading: wagmiLoading } = useWagmi({ setSigner, logout: handleLogout });
const { isLoading: wagmiLoading } = useWagmi({
setSigner,
logout: handleLogout,
});

// network
const { switchNetwork, currentNetwork } = useNetwork(signer);
const { switchNetwork: switchNetworkNew, currentNetwork: currentNetworkNew } =
useNetworkSwitch();

// identity
const {
identity,
Expand Down
2 changes: 1 addition & 1 deletion src/provider/modules/wagmi/use-wagmi.tsx
Expand Up @@ -14,7 +14,7 @@ export const useWagmi = ({
logout,
}: {
setSigner: (signer?: Signer) => void;
logout: () => void
logout: () => void;
}) => {
const provider = useProvider();
const { chain, chains } = useNetwork();
Expand Down

0 comments on commit 3a7f05b

Please sign in to comment.