Skip to content

Commit

Permalink
chore: deleted dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
kunstmusik committed Apr 26, 2024
1 parent 6f635a5 commit ef94db8
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/components/WalletProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,27 +66,4 @@ const WalletProvider = ({ children }: { children: ReactElement }) => {
return <>{children}</>;
};

// const updateIfConnected = async () => {

// const walletType = window.localStorage.getItem('walletType');
// const globalState = useGlobalState();

// try {
// if (walletType === WALLET_TYPES.ARCONNECT) {
// const connector = new ArConnectWalletConnector();
// const address = await connector?.getWalletAddress();

// globalState.updateWallet(address.toString(), connector);
// }
// } catch (error) {
// // eventEmitter.emit('error', error);
// } finally {
// globalState.setWalletStateInitialized(true);
// }
// }

// export const initializeArConnect = async () => {

// }

export default WalletProvider;

0 comments on commit ef94db8

Please sign in to comment.