Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
clmntsnr committed Dec 24, 2024
1 parent 9121a62 commit cb2a46a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/context/Wallet.context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import useWalletState, { type WalletOptions } from "../hooks/useWalletState";
export type WalletContextType = ReturnType<typeof useWalletState>;

const WalletContext = createContext<WalletContextType | null>(null);
const queryClient = new QueryClient()
const queryClient = new QueryClient();

export function useWalletContext() {
const data = useContext(WalletContext);
Expand Down Expand Up @@ -37,11 +37,11 @@ function WalletStateProvider({
export function WalletProvider({ config, children, chains, walletOptions }: PropsWithChildren<WalletProviderProps>) {
return (
<WagmiProvider config={config}>
<QueryClientProvider client={queryClient}>
<QueryClientProvider client={queryClient}>
<WalletStateProvider options={walletOptions} chains={chains}>
{children}
</WalletStateProvider>
</QueryClientProvider>
</WagmiProvider>
</QueryClientProvider>
</WagmiProvider>
);
}

0 comments on commit cb2a46a

Please sign in to comment.