From ec6e508b1e5ffe4cf72994dd38fee0e7703895b3 Mon Sep 17 00:00:00 2001 From: Samandar Turgunboyev Date: Mon, 2 Mar 2026 17:00:47 +0500 Subject: [PATCH] bug --- src/features/auth/ui/Login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/auth/ui/Login.tsx b/src/features/auth/ui/Login.tsx index bac4be7..5190de7 100644 --- a/src/features/auth/ui/Login.tsx +++ b/src/features/auth/ui/Login.tsx @@ -25,6 +25,7 @@ import { authForm } from '../lib/form'; const Login = () => { const router = useRouter(); const t = useTranslations(); + const queryClient = useQueryClient(); const form = useForm>({ resolver: zodResolver(authForm), defaultValues: { @@ -32,7 +33,6 @@ const Login = () => { username: '', }, }); - const queryClient = useQueryClient(); const { mutate, isPending } = useMutation({ mutationFn: (body: {