Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Maigo Erit committed Aug 29, 2020
1 parent a87de1a commit d173485
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion client/src/routes/ChartThemeProvider.tsx
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
1 change: 0 additions & 1 deletion electron/app/app-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit d173485

Please sign in to comment.