Skip to content

Commit 7fef662

Browse files
chore: format
1 parent 5e1022f commit 7fef662

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • apps/iframe/src/components/interface/home/tabs/views

apps/iframe/src/components/interface/home/tabs/views/Faucet.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
import { useQueryClient } from "@tanstack/react-query"
12
import { useAtomValue } from "jotai"
23
import { useCallback, useRef, useState } from "react"
4+
import { getBalanceQueryKey } from "wagmi/query"
35
import { Button } from "#src/components/primitives/button/Button"
46
import { useTurnstile } from "#src/hooks/useTurnstile"
57
import { userAtom } from "#src/state/user"
68
import UserNotFoundWarning from "./UserNotFoundWarning"
7-
import { getBalanceQueryKey } from 'wagmi/query'
8-
import { useQueryClient } from '@tanstack/react-query'
99

1010
const TURNSTILE_SITEKEY = import.meta.env.VITE_TURNSTILE_SITEKEY!
1111
const 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")

0 commit comments

Comments
 (0)