remove console.log in components

pull/1671/head
Joseph Izang 3 years ago
parent d07d017bcd
commit a79860b3ac
  1. 1
      libs/remix-ui/vertical-icons-panel/src/lib/components/Settings.tsx
  2. 2
      libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx

@ -30,7 +30,6 @@ function Settings ({ scrollableRef, verticalIconsPlugin, itemContextAction, addA
const themeModule = verticalIconsPlugin.registry.get('themeModule').api const themeModule = verticalIconsPlugin.registry.get('themeModule').api
themeModule.events.on('themeChanged', (theme: any) => { themeModule.events.on('themeChanged', (theme: any) => {
onThemeChanged(theme.quality) onThemeChanged(theme.quality)
console.log('There was a theme change and is caught in settings. This is the theme payload ', theme)
}) })
}, []) }, [])
return ( return (

@ -76,7 +76,6 @@ export function RemixUiVerticalIconsPanel ({
const themeModule = verticalIconsPlugin.registry.get('themeModule').api const themeModule = verticalIconsPlugin.registry.get('themeModule').api
themeModule.events.on('themeChanged', (theme: any) => { themeModule.events.on('themeChanged', (theme: any) => {
onThemeChanged(theme.quality) onThemeChanged(theme.quality)
console.log('There was a theme change. This is the theme payload ', theme)
}) })
}, []) }, [])
@ -84,7 +83,6 @@ export function RemixUiVerticalIconsPanel ({
const themeModule = verticalIconsPlugin.registry.get('themeModule').api const themeModule = verticalIconsPlugin.registry.get('themeModule').api
themeModule.events.on('themeChanged', (theme: any) => { themeModule.events.on('themeChanged', (theme: any) => {
onThemeChanged(theme.quality) onThemeChanged(theme.quality)
console.log('There was a theme change. This is the theme payload ', theme)
}) })
}, []) }, [])

Loading…
Cancel
Save