diff --git a/app/components/ui/checkbox.tsx b/app/components/ui/checkbox.tsx index d52e51f..92d051a 100644 --- a/app/components/ui/checkbox.tsx +++ b/app/components/ui/checkbox.tsx @@ -7,7 +7,7 @@ import { cn } from "~/utils" const Checkbox = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { - className: string + className?: string } >(({ className, ...props }, ref) => ( { return [ @@ -15,6 +16,9 @@ export const meta: MetaFunction = () => { } export default function Index() { + const [form, fields] = useForm({ + id: "login" + }) return (
@@ -23,16 +27,19 @@ export default function Index() {

Welcome back! 🎉