@pulld/unsaved-changes-guardloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. IndexBM25 + vectors

Public log. Prompts, raw model errors and costs stay on the admin side.

Log
Demo source
src/demo.tsx · from an earlier run
import { Button } from "@/components/ui/button"import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"import { Input } from "@/components/ui/input"import { Label } from "@/components/ui/label"import { Textarea } from "@/components/ui/textarea"import { UnsavedChangesGuard } from "@/components/ui/unsaved-changes-guard"const leaving = {  pending: { kind: "link" as const, href: "/settings" },  proceed: () => {},  cancel: () => {},}export default function UnsavedChangesGuardDemo() {  return (    <>      <Card className="w-full max-w-sm">        <CardHeader>          <CardTitle>Edit profile</CardTitle>          <CardDescription>Update your public details.</CardDescription>        </CardHeader>        <CardContent className="grid gap-4">          <div className="grid gap-2">            <Label htmlFor="name">Name</Label>            <Input id="name" defaultValue="Olivia Martin" />          </div>          <div className="grid gap-2">            <Label htmlFor="bio">Bio</Label>            <Textarea id="bio" defaultValue="Designer and occasional writer." />          </div>        </CardContent>        <CardFooter className="justify-end gap-2">          <Button variant="outline">Cancel</Button>          <Button>Save changes</Button>        </CardFooter>      </Card>      <UnsavedChangesGuard when guard={leaving} />    </>  )}