Remove demo seeding from layout
cgen-f62259f7672f4fe0b72b9e64fabfa920
This commit is contained in:
parent
d3f4649dd8
commit
4e0e738152
1 changed files with 0 additions and 9 deletions
|
|
@ -12,9 +12,6 @@ import {
|
|||
} from "@/components/ui/dropdown-menu";
|
||||
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
|
||||
import { User, Settings, LogOut, Bell, Sparkles } from "lucide-react";
|
||||
import { useEffect } from "react";
|
||||
import { ensureDemoSeed } from "@/lib/demo-feed";
|
||||
import { isSupabaseConfigured } from "@/lib/supabase";
|
||||
|
||||
interface LayoutProps {
|
||||
children: React.ReactNode;
|
||||
|
|
@ -46,12 +43,6 @@ export default function Layout({ children }: LayoutProps) {
|
|||
window.scrollTo({ top: 0, behavior: "smooth" });
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
try {
|
||||
if (!isSupabaseConfigured) ensureDemoSeed();
|
||||
} catch {}
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-aethex-gradient">
|
||||
<header className="sticky top-0 z-50 border-b border-border/40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 animate-slide-down">
|
||||
|
|
|
|||
Loading…
Reference in a new issue