This commit is contained in:
Samandar Turgunboyev
2026-03-02 17:00:47 +05:00
parent 705ef2e7bc
commit ec6e508b1e

View File

@@ -25,6 +25,7 @@ import { authForm } from '../lib/form';
const Login = () => {
const router = useRouter();
const t = useTranslations();
const queryClient = useQueryClient();
const form = useForm<z.infer<typeof authForm>>({
resolver: zodResolver(authForm),
defaultValues: {
@@ -32,7 +33,6 @@ const Login = () => {
username: '',
},
});
const queryClient = useQueryClient();
const { mutate, isPending } = useMutation({
mutationFn: (body: {