Skip to content

Commit

Permalink
fix: type mismatch due to ambiguous inferred generic
Browse files Browse the repository at this point in the history
  • Loading branch information
elianiva committed Feb 6, 2024
1 parent f6fd267 commit 367043d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/(auth)/sign-in/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import toast from "svelte-french-toast";
import { signIn } from "@auth/sveltekit/client";
import { Button } from "$lib/components/ui/button";
import * as Card from "$lib/components/ui/card";
import { Input } from "$lib/components/ui/input";
import { Label } from "$lib/components/ui/label";
import { createForm } from "felte";
Expand All @@ -12,7 +11,7 @@
import { goto } from "$app/navigation";
const { form, isSubmitting, errors } = createForm<AuthSchema>({
extend: validator({ schema: authSchema }),
extend: validator<AuthSchema>({ schema: authSchema }),
onSubmit: signInWithCredentials,
onError: handleErrors,
onSuccess: handleSuccess,
Expand Down

0 comments on commit 367043d

Please sign in to comment.