Skip to content

Commit

Permalink
chore: update frontend to pass translations as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Jan 27, 2025
1 parent 210416c commit 41b4db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/auth/AccountSignInForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import type { TRPCClientError } from '@/lib/api/types';
function AccountSignInForm() {
const router = useRouter();
const t = useTranslations('auth');
const formSchema = accountSignInSchema();
const formSchema = accountSignInSchema(useTranslations());
const { isPending, setPending } = usePending();
const signInMutation = api.auth.signIn.useMutation({
onMutate: () => setPending(true),
Expand Down

0 comments on commit 41b4db0

Please sign in to comment.