File tree Expand file tree Collapse file tree
apps/iframe/src/components/interface/home/tabs/views Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { useQueryClient } from "@tanstack/react-query"
12import { useAtomValue } from "jotai"
23import { useCallback , useRef , useState } from "react"
4+ import { getBalanceQueryKey } from "wagmi/query"
35import { Button } from "#src/components/primitives/button/Button"
46import { useTurnstile } from "#src/hooks/useTurnstile"
57import { userAtom } from "#src/state/user"
68import UserNotFoundWarning from "./UserNotFoundWarning"
7- import { getBalanceQueryKey } from 'wagmi/query'
8- import { useQueryClient } from '@tanstack/react-query'
99
1010const TURNSTILE_SITEKEY = import . meta. env . VITE_TURNSTILE_SITEKEY !
1111const FAUCET_ENDPOINT = import . meta. env . VITE_FAUCET_ENDPOINT !
@@ -44,7 +44,6 @@ const FaucetView = () => {
4444 queryClient . invalidateQueries ( {
4545 queryKey : getBalanceQueryKey ( { address : user . address } ) ,
4646 } )
47-
4847 } catch ( err : unknown ) {
4948 if ( err instanceof Error ) {
5049 setStatus ( "error" )
You can’t perform that action at this time.
0 commit comments