Skip to content

Commit

Permalink
Merge pull request #1100 from dm3-org/disable-cache
Browse files Browse the repository at this point in the history
disable FE cache
  • Loading branch information
AlexNi245 authored Jul 16, 2024
2 parents b4d467c + ceb2ff1 commit d5959c0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ export const _useMainnetProvider = (
const provider = chainID === '1' ? mainnetProvider : sepoliaProvider;

//Use the provider cache to cache the provider
const providerWithCache = new Web3ProviderCacheFactory(
provider,
).TTLLocalStorage();
const providerWithCache = new Web3ProviderCacheFactory(provider).TTL();

return providerWithCache;
};

0 comments on commit d5959c0

Please sign in to comment.