From 85c79891389106eaad07979bcae865315732464b Mon Sep 17 00:00:00 2001 From: Jordan Prince Date: Thu, 17 Jun 2021 19:31:02 -0500 Subject: [PATCH] Remove unnecessary wallet --- js/packages/web/src/contexts/meta.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/packages/web/src/contexts/meta.tsx b/js/packages/web/src/contexts/meta.tsx index 3993e52..bd78cfb 100644 --- a/js/packages/web/src/contexts/meta.tsx +++ b/js/packages/web/src/contexts/meta.tsx @@ -115,7 +115,6 @@ const MetaContext = React.createContext({ export function MetaProvider({ children = null as any }) { const connection = useConnection(); - const { wallet } = useWallet(); const { env } = useConnectionConfig(); const [metadata, setMetadata] = useState[]>([]); @@ -230,7 +229,6 @@ export function MetaProvider({ children = null as any }) { processAuctions( accounts[i], - wallet, (cb: any) => (tempCache.auctions = cb(tempCache.auctions)), (cb: any) => (tempCache.bidderMetadataByAuctionAndBidder = cb( @@ -332,7 +330,6 @@ export function MetaProvider({ children = null as any }) { setWhitelistedCreatorsByCreator, updateMints, env, - wallet, ]); useEffect(() => { @@ -414,7 +411,6 @@ export function MetaProvider({ children = null as any }) { pubkey, account: info.accountInfo, }, - wallet, setAuctions, setBidderMetadataByAuctionAndBidder, setBidderPotsByAuctionAndBidder, @@ -584,7 +580,6 @@ function isValidHttpUrl(text: string) { const processAuctions = ( a: PublicKeyAndAccount, - wallet: any, setAuctions: any, setBidderMetadataByAuctionAndBidder: any, setBidderPotsByAuctionAndBidder: any,