{message}
{details}
{stack && (
{stack}
)}
// file: ./app/routes/index.tsx import { redirect } from "react-router"; import type { Route } from "./+types/index"; export function meta({ }: Route.MetaArgs) { return [ { title: "New React Router App" }, ]; } export function clientLoader() { return redirect("/login"); } export default function Index() { return <>>; } // file: ./app/routes/auth/layout.tsx import { Outlet } from "react-router"; export default function Layout() { return (
{details}
{stack && (
{stack}
)}
{body}
) } export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField } // file: ./app/components/ui/label.tsx "use client" import * as React from "react" import * as LabelPrimitive from "@radix-ui/react-label" import { cn } from "~/lib/utils" function Label({ className, ...props }: React.ComponentProps