import { CreateBase, Form, useGetIdentity } from "ra-core"; import { FormToolbar } from "@/components/ds/admin/simple-form"; import { Card, CardContent } from "@/components/ds/ui/card"; import type { Contact } from "../types"; import { ContactInputs } from "./ContactInputs"; export const ContactCreate = () => { const { identity } = useGetIdentity(); return ( ({ ...data, first_seen: new Date().toISOString(), last_seen: new Date().toISOString(), tags: [], })} >
); };