diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index b4be7f2..151de3a 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -1,4 +1,4 @@ -import { ReactNode, useState, useEffect } from 'react'; +import { ReactNode, useState } from 'react'; import { Link, useNavigate } from 'react-router-dom'; import { useAuth } from '@/hooks/useAuth'; import { useCart } from '@/contexts/CartContext'; @@ -23,12 +23,6 @@ export function Layout({ children }: { children: ReactNode }) { const brandName = branding.brand_name || 'LearnHub'; const logoUrl = branding.brand_logo_url; - // Debug: log branding data - useEffect(() => { - console.log('Layout - branding data:', branding); - console.log('Layout - brandName:', brandName); - }, [branding, brandName]); - return (