Skip to content

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

fix: invalid DOM errors

Kevin Grünebergc21ca9477718
diff --git a/studio/components/interfaces/Billing/Invoices.tsx b/studio/components/interfaces/Billing/Invoices.tsx
index 5fc0cc4727b..1bf8e7f989e 100644
--- a/studio/components/interfaces/Billing/Invoices.tsx
+++ b/studio/components/interfaces/Billing/Invoices.tsx
@@ -89,7 +89,7 @@ const Invoices: FC<Props> = ({ projectRef }) => {
<Table.th key="header-date">Date</Table.th>,
<Table.th key="header-amount">Amount due</Table.th>,
<Table.th key="header-invoice">Invoice number</Table.th>,
- <Table.th key="header-invoice" className="flex items-center">
+ <Table.th key="header-status" className="flex items-center">
Status
</Table.th>,
<Table.th key="header-download" className="text-right"></Table.th>,
diff --git a/studio/components/interfaces/Home/ProjectUsage.tsx b/studio/components/interfaces/Home/ProjectUsage.tsx
index e1a1562d3b1..a2c4ecfc0e8 100644
--- a/studio/components/interfaces/Home/ProjectUsage.tsx
+++ b/studio/components/interfaces/Home/ProjectUsage.tsx
@@ -210,7 +210,7 @@ const PanelHeader = (props: any) => {
(props.href ? 'cursor-pointer hover:text-gray-1200 hover:opacity-100' : '')
}
>
- <p>{props.icon}</p>
+ <div>{props.icon}</div>
<span className="flex items-center space-x-1">
<h4 className="mb-0 text-lg">{props.title}</h4>
</span>
diff --git a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
index 8339cb962f4..1ecae8ae188 100644
--- a/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
+++ b/studio/components/interfaces/Organization/InvoicesSettings/InvoicesSettings.tsx
@@ -99,7 +99,7 @@ const InvoicesSettings = () => {
<Table.th key="header-date">Date</Table.th>,
<Table.th key="header-amount">Amount due</Table.th>,
<Table.th key="header-invoice">Invoice number</Table.th>,
- <Table.th key="header-invoice" className="flex items-center">
+ <Table.th key="header-status" className="flex items-center">
Status
</Table.th>,
<Table.th key="header-download" className="text-right"></Table.th>,
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx
index 685af80c371..f130dd4d9f9 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/index.tsx
@@ -223,7 +223,7 @@ const NotificationsPopover: FC<Props> = () => {
}
>
<Tooltip.Root delayDuration={0}>
- <Tooltip.Trigger>
+ <Tooltip.Trigger asChild>
<div className="relative flex">
<Button
as="span"