diff --git a/client/components/Layout.tsx b/client/components/Layout.tsx index 90313eab..5bca60ad 100644 --- a/client/components/Layout.tsx +++ b/client/components/Layout.tsx @@ -43,7 +43,11 @@ export default function Layout({ children }: LayoutProps) { window.scrollTo({ top: 0, behavior: "smooth" }); }; - useEffect(() => { try { ensureDemoSeed(); } catch {} }, []); + useEffect(() => { + try { + ensureDemoSeed(); + } catch {} + }, []); return (
diff --git a/client/lib/supabase.ts b/client/lib/supabase.ts index 01d2d9f7..59d1fa0c 100644 --- a/client/lib/supabase.ts +++ b/client/lib/supabase.ts @@ -145,7 +145,11 @@ export const supabase = new Proxy(supabaseClient || {}, { } if (prop === "channel") { - if (isSupabaseConfigured && target && typeof target.channel === "function") { + if ( + isSupabaseConfigured && + target && + typeof target.channel === "function" + ) { return target.channel.bind(target); } return function () { diff --git a/client/pages/Admin.tsx b/client/pages/Admin.tsx index 51f49552..b15bbbcc 100644 --- a/client/pages/Admin.tsx +++ b/client/pages/Admin.tsx @@ -26,7 +26,11 @@ export default function Admin() { const { user, loading, roles } = useAuth(); const navigate = useNavigate(); const isOwner = Array.isArray(roles) && roles.includes("owner"); - useEffect(() => { try { ensureDemoSeed(); } catch {} }, []); + useEffect(() => { + try { + ensureDemoSeed(); + } catch {} + }, []); const demoProfiles: any[] = (function () { try { return JSON.parse(localStorage.getItem("demo_profiles") || "[]");