feat: improve sign up form err handling

This commit is contained in:
2025-10-05 20:49:41 +00:00
parent 483aa19351
commit 1fcdaf4f86
2 changed files with 41 additions and 8 deletions

View File

@@ -4,6 +4,7 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query"
import { createRootRoute, Outlet } from "@tanstack/react-router"
import { ConvexReactClient } from "convex/react"
import { toast } from "sonner"
import { Toaster } from "@/components/ui/sonner"
import { formatError } from "@/lib/error"
import { useKeyboardModifierListener } from "@/lib/keyboard"
import { authClient } from "../auth-client"
@@ -35,6 +36,7 @@ function RootLayout() {
authClient={authClient}
>
<Outlet />
<Toaster />
</ConvexBetterAuthProvider>
</QueryClientProvider>
)