Skip to content

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

Remove test connection button in billing layout

Joshen Lim9a9161de5d18
diff --git a/studio/components/layouts/BillingLayout.tsx b/studio/components/layouts/BillingLayout.tsx
index 9fbdf0b100b..d4b2825eccf 100644
--- a/studio/components/layouts/BillingLayout.tsx
+++ b/studio/components/layouts/BillingLayout.tsx
@@ -45,24 +45,6 @@ const BillingLayout: FC<Props> = ({ children }) => {
</span>
<p className="text-sm text-scale-1100">{ui.selectedProject?.name}</p>
</div>
- {/* TODO: Remove this eventually */}
- <Button
- onClick={async () => {
- const project = ui.selectedProject
- const headers = {
- apikey: project?.internalApiKey,
- Authorization: `Bearer ${project?.internalApiKey}`,
- }
- const { error } = await headWithTimeout(project?.restUrl!, [], {
- headers,
- credentials: 'omit',
- timeout: 2000,
- })
- console.log('Project online:', error === undefined)
- }}
- >
- Test connection
- </Button>
</div>
</div>
<div className="overflow-auto">