From c7018e3dafcf479529b9cea762118d609555e133 Mon Sep 17 00:00:00 2001 From: Nurfog Date: Thu, 9 Apr 2026 10:54:58 -0400 Subject: [PATCH] chore(ui): remove branding debug logs from frontend contexts --- web/experience/src/context/BrandingContext.tsx | 2 -- web/studio/src/context/BrandingContext.tsx | 2 -- 2 files changed, 4 deletions(-) diff --git a/web/experience/src/context/BrandingContext.tsx b/web/experience/src/context/BrandingContext.tsx index 8aef805..fbcbc5a 100644 --- a/web/experience/src/context/BrandingContext.tsx +++ b/web/experience/src/context/BrandingContext.tsx @@ -29,7 +29,6 @@ export const BrandingProvider: React.FC<{ children: React.ReactNode }> = ({ chil try { const data = await lmsApi.getBranding(); setBranding(data); - console.log('Branding loaded in Experience:', data); } catch (error) { console.error('Failed to load branding', error); } finally { @@ -42,7 +41,6 @@ export const BrandingProvider: React.FC<{ children: React.ReactNode }> = ({ chil useEffect(() => { if (!branding) return; - console.log('Applying branding in Experience for path:', pathname); // Apply CSS variables if (branding.primary_color) { diff --git a/web/studio/src/context/BrandingContext.tsx b/web/studio/src/context/BrandingContext.tsx index 6fdd48c..8acc56c 100644 --- a/web/studio/src/context/BrandingContext.tsx +++ b/web/studio/src/context/BrandingContext.tsx @@ -46,7 +46,6 @@ export const BrandingProvider: React.FC<{ children: React.ReactNode }> = ({ chil } as any; setBranding(orgData); - console.log('Branding loaded in Studio:', orgData); } catch (error) { console.error('Failed to load branding', error); } finally { @@ -60,7 +59,6 @@ export const BrandingProvider: React.FC<{ children: React.ReactNode }> = ({ chil useEffect(() => { if (!branding) return; - console.log('Applying branding in Studio for path:', pathname); // Apply CSS variables if (branding.primary_color) {