Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

use `undefined` rather than empty object (#22664)

Jonathan Summers-Muir8e82dbbbdfde
diff --git a/apps/studio/components/interfaces/Integrations/IntegrationConnection.tsx b/apps/studio/components/interfaces/Integrations/IntegrationConnection.tsx
index e050d242b16..bcf89ee7ca9 100644
--- a/apps/studio/components/interfaces/Integrations/IntegrationConnection.tsx
+++ b/apps/studio/components/interfaces/Integrations/IntegrationConnection.tsx
@@ -151,7 +151,7 @@ const IntegrationConnectionItem = forwardRef<HTMLLIElement, IntegrationConnectio
description: ` Deleting this GitHub connection will remove all preview branches on this project,
and also disable branching for ${project.name}`,
}
- : {}
+ : undefined
}
>
<p className="text-sm text-foreground-light">
diff --git a/apps/studio/components/layouts/SQLEditorLayout/QueryItem.tsx b/apps/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
index d7f0bc473f8..8a564009c02 100644
--- a/apps/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
+++ b/apps/studio/components/layouts/SQLEditorLayout/QueryItem.tsx
@@ -205,7 +205,7 @@ const QueryItem = ({
description:
'Deleting this query will remove it for all members of the project team.',
}
- : {}
+ : undefined
}
>
<p className="text-sm">Are you sure you want to delete '{name}'?</p>