chore(ui): remove branding debug logs from frontend contexts
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user