Skip to content

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

Update supabase/functions/og-images/component/Docs.tsx

Terry Suttonbe2a2f6e73ba
diff --git a/supabase/functions/og-images/component/Docs.tsx b/supabase/functions/og-images/component/Docs.tsx
index a8616368c26..5293a1b4bc2 100644
--- a/supabase/functions/og-images/component/Docs.tsx
+++ b/supabase/functions/og-images/component/Docs.tsx
@@ -42,7 +42,7 @@ const Docs = (props: Props) => {
</div>
<div tw="flex flex-col">
<div tw="flex flex-col absolute left-[64px] top-[154px] w-[1072px]">
- <h1 tw="my-0 mb-2 text-[60px]">{title.substring(0, 1).toUpperCase() + title.substring(1)}</h1>
+ <h1 tw="my-0 mb-2 text-[60px]">{!title ? 'Supabase' : title.substring(0, 1).toUpperCase() + title.substring(1)}</h1>
<p tw="my-0 mt-2 text-[40px] text-[#f2fff9] opacity-50">{description}</p>
</div>
<div tw="flex flex-row items-center justify-center absolute left-[64px] top-[500px]">