Skip to content

Commit

Permalink
fix(wallet-dashboard): clear queries on network change (#4548)
Browse files Browse the repository at this point in the history
  • Loading branch information
brancoder authored Dec 18, 2024
1 parent 699790c commit a849c3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/wallet-dashboard/providers/AppProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export function AppProviders({ children }: React.PropsWithChildren) {
const defaultNetwork = getDefaultNetwork();
function handleNetworkChange() {
queryClient.resetQueries();
queryClient.clear();
}
return (
<GrowthBookProvider growthbook={growthbook}>
Expand Down

0 comments on commit a849c3b

Please sign in to comment.