Skip to content

Commit

Permalink
Fix imports to require
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Dec 16, 2017
1 parent 5a20980 commit c434f50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const UpdateChecker = require('./modules/updateChecker');
const Q = require('bluebird');
const windowStateKeeper = require('electron-window-state');
const log = logger.create('main');
const Settings = require('./modules/settings');

import Settings from './modules/settings';
import configureReduxStore from './modules/core/store';
import { quitApp } from './modules/core/ui/actions';
import { setLanguageOnMain, toggleSwarm } from './modules/core/settings/actions';
Expand Down
3 changes: 2 additions & 1 deletion modules/core/settings/actions.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const Settings = require('../../settings');

import logger from '../../utils/logger';
import Settings from '../../settings';
import swarmNode from '../../swarmNode';
import { SwarmState } from './reducer';

Expand Down

0 comments on commit c434f50

Please sign in to comment.