diff --git a/app/root.tsx b/app/root.tsx index 4f9c14a3..6defeb18 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -78,7 +78,7 @@ export async function loader({ request }: Route.LoaderArgs) { const user = userId ? await time( () => - prisma.user.findUniqueOrThrow({ + prisma.user.findUnique({ select: { id: true, name: true,