Skip to content

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

fix prettier

erwanMarmelab26f0d1f13b2f
diff --git a/src/components/atomic-crm/types.ts b/src/components/atomic-crm/types.ts
index 0f3ac2fc..6fa6d4ed 100644
--- a/src/components/atomic-crm/types.ts
+++ b/src/components/atomic-crm/types.ts
@@ -232,12 +232,7 @@ export interface ContactGender {
}
export type SearchResourceName =
- | "companies"
- | "contacts"
- | "deals"
- | "tasks"
- | "contact_notes"
- | "deal_notes";
+ "companies" | "contacts" | "deals" | "tasks" | "contact_notes" | "deal_notes";
export type SearchResult = {
resource: SearchResourceName;
diff --git a/supabase/functions/mcp/index.ts b/supabase/functions/mcp/index.ts
index 5ce369ae..e0a56297 100644
--- a/supabase/functions/mcp/index.ts
+++ b/supabase/functions/mcp/index.ts
@@ -178,8 +178,7 @@ async function runValidatedSql(
function sqlToolResult(
result:
- | { success: true; data: unknown[] }
- | { success: false; error: string },
+ { success: true; data: unknown[] } | { success: false; error: string },
) {
if (result.success) {
return {