Skip to content

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

fix(docs): local build without secrets (#29930)

Charis182b7f1c4ef1
diff --git a/apps/docs/app/guides/(with-sidebar)/layout.tsx b/apps/docs/app/guides/(with-sidebar)/layout.tsx
index b67a47c2fda..452ee294b26 100644
--- a/apps/docs/app/guides/(with-sidebar)/layout.tsx
+++ b/apps/docs/app/guides/(with-sidebar)/layout.tsx
@@ -1,10 +1,12 @@
import { type PropsWithChildren } from 'react'
+import { IS_PLATFORM } from 'common'
+
import { supabaseMisc } from '~/lib/supabaseMisc'
import Layout from '~/layouts/guides'
const GuidesLayout = async ({ children }: PropsWithChildren) => {
- const partners = await getPartners()
+ const partners = IS_PLATFORM ? await getPartners() : []
const partnerNavItems = partners.map((partner) => ({
name: partner.title,
url: `https://supabase.com/partners/integrations/${partner.slug}` as `https://${string}`,