Skip to content

Commit

Permalink
removing unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mateodaza committed Sep 24, 2024
1 parent 2f07fb1 commit d9e7460
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions src/components/modals/SwitchNetwork.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { FC, useState, useEffect } from 'react';
import React, { FC } from 'react';
import {
B,
brandColors,
Expand Down Expand Up @@ -45,7 +45,6 @@ const SwitchNetwork: FC<ISwitchNetworkModal> = ({
const {
walletChainType,
handleSingOutAndSignInWithEVM,
pendingNetworkId,
setPendingNetworkId,
chain,
} = useGeneralWallet();
Expand Down
3 changes: 0 additions & 3 deletions src/providers/generalWalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ interface IGeneralWalletContext {
handleSignOutAndShowWelcomeModal: () => Promise<void>;
isOnSolana: boolean;
isOnEVM: boolean;
pendingNetworkId: number | null;
setPendingNetworkId: (id: number | null) => void;
}
// Create the context
Expand All @@ -78,7 +77,6 @@ export const GeneralWalletContext = createContext<IGeneralWalletContext>({
handleSignOutAndShowWelcomeModal: async () => {},
isOnSolana: false,
isOnEVM: false,
pendingNetworkId: null,
setPendingNetworkId: () => {},
});

Expand Down Expand Up @@ -423,7 +421,6 @@ export const GeneralWalletProvider: React.FC<{
handleSignOutAndShowWelcomeModal,
isOnSolana,
isOnEVM,
pendingNetworkId,
setPendingNetworkId,
};

Expand Down

0 comments on commit d9e7460

Please sign in to comment.