diff --git a/client/src/router.tsx b/client/src/router.tsx index 6bc1e12c..4a2fc6f8 100644 --- a/client/src/router.tsx +++ b/client/src/router.tsx @@ -40,7 +40,7 @@ export function MainRouter() { Logger.debug('Clearing eventEmitter'); EventEmitter.off('activeThemeChanged', changeActiveTheme); }; - }, [changeActiveTheme]); + }, [changeActiveTheme]); // eslint-disable-line react-hooks/exhaustive-deps useEffect(() => { saveTheme(theme); diff --git a/client/src/routes/ChartThemeProvider.tsx b/client/src/routes/ChartThemeProvider.tsx index ebc25394..77a49a87 100644 --- a/client/src/routes/ChartThemeProvider.tsx +++ b/client/src/routes/ChartThemeProvider.tsx @@ -1,6 +1,6 @@ import React, { useState, createContext, useContext, useEffect } from 'react'; import { Logger } from '../logger'; -import { THEME_DARK, THEME_LIGHT } from '../constants'; +import { THEME_DARK } from '../constants'; import { getChartTheme } from '../components/Timeline/ChartTheme'; diff --git a/electron/app/app-manager.ts b/electron/app/app-manager.ts index 6458606d..30a8e72d 100644 --- a/electron/app/app-manager.ts +++ b/electron/app/app-manager.ts @@ -5,7 +5,6 @@ import { initIpcActions } from './API'; import config from './config'; import { connectAndSync } from './models/db'; import { sendToTrayWindow, sendToMainWindow } from './window-manager'; -import { info } from 'console'; let logger = logManager.getLogger('AppManager');