Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Add missing `nativeButton`

erwanMarmelabb9ce3422a6d0
diff --git a/registry.json b/registry.json
index 10be3178..ca9f24ca 100644
--- a/registry.json
+++ b/registry.json
@@ -161,6 +161,10 @@
"path": "src/components/atomic-crm/sales/useGetSalesName.ts",
"type": "registry:component"
},
+ {
+ "path": "src/components/atomic-crm/sales/salesErrorNotification.ts",
+ "type": "registry:component"
+ },
{
"path": "src/components/atomic-crm/sales/index.ts",
"type": "registry:component"
diff --git a/src/components/atomic-crm/companies/CompanyShow.tsx b/src/components/atomic-crm/companies/CompanyShow.tsx
index 47c5d337..158f072e 100644
--- a/src/components/atomic-crm/companies/CompanyShow.tsx
+++ b/src/components/atomic-crm/companies/CompanyShow.tsx
@@ -256,6 +256,7 @@ const CreateRelatedContactButton = () => {
className="flex items-center gap-2"
/>
}
+ nativeButton={false}
>
<UserPlus className="h-4 w-4" />
{translate("resources.contacts.action.add")}
diff --git a/src/components/atomic-crm/dashboard/DashboardStepper.tsx b/src/components/atomic-crm/dashboard/DashboardStepper.tsx
index 6d4777f5..5cedd1f4 100644
--- a/src/components/atomic-crm/dashboard/DashboardStepper.tsx
+++ b/src/components/atomic-crm/dashboard/DashboardStepper.tsx
@@ -110,6 +110,7 @@ export const DashboardStepper = ({
})}
/>
}
+ nativeButton={false}
>
{addContactLabel}
</Button>
@@ -154,6 +155,7 @@ export const DashboardStepper = ({
})}
/>
}
+ nativeButton={false}
>
{translate("resources.notes.action.add", {
_: "Add note",
diff --git a/src/components/atomic-crm/dashboard/HotContacts.tsx b/src/components/atomic-crm/dashboard/HotContacts.tsx
index 17ceb704..520c671c 100644
--- a/src/components/atomic-crm/dashboard/HotContacts.tsx
+++ b/src/components/atomic-crm/dashboard/HotContacts.tsx
@@ -49,6 +49,7 @@ export const HotContacts = () => {
size="sm"
className="ml-auto text-muted-foreground"
render={<Link to="/contacts/create" />}
+ nativeButton={false}
/>
}
>
diff --git a/src/components/atomic-crm/dataImport/DataImportDialog.tsx b/src/components/atomic-crm/dataImport/DataImportDialog.tsx
index e052e521..edff17f3 100644
--- a/src/components/atomic-crm/dataImport/DataImportDialog.tsx
+++ b/src/components/atomic-crm/dataImport/DataImportDialog.tsx
@@ -214,6 +214,7 @@ export function DataImportDialog({
download={sampleFileName(resource.name)}
/>
}
+ nativeButton={false}
>
{translate("crm.data_import.sample_download")}
</Button>
diff --git a/src/components/atomic-crm/deals/DealEdit.tsx b/src/components/atomic-crm/deals/DealEdit.tsx
index e3fc73dd..d22fb677 100644
--- a/src/components/atomic-crm/deals/DealEdit.tsx
+++ b/src/components/atomic-crm/deals/DealEdit.tsx
@@ -79,6 +79,7 @@ function EditHeader() {
variant="outline"
className="h-9"
render={<Link to={`/deals/${deal.id}/show`} />}
+ nativeButton={false}
>
{translate("resources.deals.action.back_to_deal")}
</Button>
diff --git a/src/components/atomic-crm/layout/MobileNavigation.tsx b/src/components/atomic-crm/layout/MobileNavigation.tsx
index 8982d33f..8ed75831 100644
--- a/src/components/atomic-crm/layout/MobileNavigation.tsx
+++ b/src/components/atomic-crm/layout/MobileNavigation.tsx
@@ -100,6 +100,7 @@ const NavigationButton = ({
isActive ? null : "text-muted-foreground",
)}
render={<Link to={href} />}
+ nativeButton={false}
>
<Icon className="size-6" />
<span className="text-[0.6rem] font-medium">{label}</span>