Skip to content

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

return null instead of Fragment

Florian LEFEBVRE997dd0de3f1b
diff --git a/www/components/Nav/Annoucement.tsx b/www/components/Nav/Annoucement.tsx
index d029223574d..c02ee8a0909 100644
--- a/www/components/Nav/Annoucement.tsx
+++ b/www/components/Nav/Annoucement.tsx
@@ -15,7 +15,7 @@ type A = {
const a: A = data;
const Annoucement = () => {
- if (!a.show) return (<></>)
+ if (!a.show) return (null)
return (
<div className="bg-brand-700 dark:bg-gray-700">
<div className="flex flex-col items-center justify-center py-2 mx-auto space-x-2 text-white sm:flex-row lg:container lg:px-16 xl:px-20">