The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix SVG prop errors
Joshen Limb253238b9eea
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/BreadcrumbsView.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/BreadcrumbsView.tsxindex 7c1c564fa2f..395dd1d379a 100644--- a/studio/components/layouts/ProjectLayout/LayoutHeader/BreadcrumbsView.tsx+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/BreadcrumbsView.tsx@@ -18,11 +18,11 @@ const BreadcrumbsView: FC<Props> = ({ defaultValue: breadcrumbs }) => {width="16"height="16"stroke="currentColor"- stroke-width="1"- stroke-linecap="round"- stroke-linejoin="round"+ strokeWidth="1"+ strokeLinecap="round"+ strokeLinejoin="round"fill="none"- shape-rendering="geometricPrecision"+ shapeRendering="geometricPrecision"><path d="M16 3.549L7.12 20.600"></path></svg>diff --git a/studio/pages/project/[ref]/settings/api.tsx b/studio/pages/project/[ref]/settings/api.tsxindex 215e87bfd43..e4c8d2545fb 100644--- a/studio/pages/project/[ref]/settings/api.tsx+++ b/studio/pages/project/[ref]/settings/api.tsx@@ -285,9 +285,9 @@ const ServiceList: FC<any> = ({ projectRef }) => {<div className="w-full flex items-center justify-between"><div className="flex flex-col space-y-1"><Typography.Text>Generate a new JWT secret</Typography.Text>- <Typography.Text type="secondary">+ <p className="opacity-50 text-sm">A random secret will be created, or you can create your own.- </Typography.Text>+ </p></div><div className="flex flex-col items-end">{isUpdatingJwtSecret ? (@@ -318,7 +318,7 @@ const ServiceList: FC<any> = ({ projectRef }) => {><Buttonas="span"- type="secondary"+ type="default"iconRight={<IconChevronDown />}>Generate a new secretdiff --git a/studio/pages/project/[ref]/settings/database.tsx b/studio/pages/project/[ref]/settings/database.tsxindex 94d3b17e10c..e1f9911fbf4 100644--- a/studio/pages/project/[ref]/settings/database.tsx+++ b/studio/pages/project/[ref]/settings/database.tsx@@ -200,11 +200,9 @@ const ResetDbPassword: FC<any> = () => {<div><Typography.Text className="block">Database password</Typography.Text><div style={{ maxWidth: '420px' }}>- <Typography.Text type="secondary" className="opacity-50">- <p className="opacity-50">- You can use this password to connect directly to your Postgres database.- </p>- </Typography.Text>+ <p className="opacity-50 text-sm">+ You can use this password to connect directly to your Postgres database.+ </p></div></div><div className="flex items-end justify-end">@@ -256,12 +254,10 @@ const DownloadCertificate: FC<any> = ({ createdAt }) => {<div><Typography.Text className="block">SSL Connection</Typography.Text><div style={{ maxWidth: '420px' }}>- <Typography.Text type="secondary" className="opacity-50">- <p className="opacity-50">- Use this cert when connecting to your database to prevent snooping and- man-in-the-middle attacks.- </p>- </Typography.Text>+ <p className="opacity-50 text-sm">+ Use this cert when connecting to your database to prevent snooping and+ man-in-the-middle attacks.+ </p></div></div><div className="flex items-end justify-end">@@ -311,7 +307,7 @@ const GeneralSettings: FC<any> = ({ projectRef }) => {`user=${connectionInfo.db_user} password=[YOUR-PASSWORD] ` +`host=${connectionInfo.db_host} port=${connectionInfo.db_port.toString()}` +` dbname=${connectionInfo.db_name}`- const psqlConnString =+ const psqlConnString =`psql -h ${connectionInfo.db_host} -p ` +`${connectionInfo.db_port.toString()} -d ${connectionInfo.db_name} ` +`-U ${connectionInfo.db_user}`diff --git a/studio/pages/project/[ref]/settings/general.tsx b/studio/pages/project/[ref]/settings/general.tsxindex d0a13d52d8d..eb539a145c8 100644--- a/studio/pages/project/[ref]/settings/general.tsx+++ b/studio/pages/project/[ref]/settings/general.tsx@@ -128,11 +128,9 @@ const GeneralSettings = observer(() => {<div><Typography.Text className="block">Restart Server</Typography.Text><div style={{ maxWidth: '420px' }}>- <Typography.Text type="secondary" className="opacity-50">- <p className="opacity-50">- Your project will not be available for a few minutes.- </p>- </Typography.Text>+ <p className="opacity-50 text-sm">+ Your project will not be available for a few minutes.+ </p></div></div><RestartServerButton projectRef={project?.ref} />