A full-featured CRM built with React, shadcn/ui, and Supabase.
revert create-button
Jean-Baptiste Kaiser2326b273d689
diff --git a/src/components/admin/create-button.tsx b/src/components/admin/create-button.tsxindex 7c47b662..24f1721c 100644--- a/src/components/admin/create-button.tsx+++ b/src/components/admin/create-button.tsx@@ -7,7 +7,6 @@ import { Link } from "react-router";export type CreateButtonProps = {label?: string;resource?: string;- state?: any;};/**@@ -34,7 +33,6 @@ export type CreateButtonProps = {export const CreateButton = ({label,resource: targetResource,- state,}: CreateButtonProps) => {const resource = useResourceContext();const createPath = useCreatePath();@@ -46,7 +44,6 @@ export const CreateButton = ({<LinkclassName={buttonVariants({ variant: "outline" })}to={link}- state={state}onClick={stopPropagation}><Plus />