Organize components, use webpack import aliases

This commit is contained in:
Ken-Håvard Lieng 2017-06-21 08:40:28 +02:00
parent f174d98107
commit 86c5451edb
50 changed files with 269 additions and 133 deletions

View file

@ -1,11 +1,11 @@
import Cookie from 'js-cookie';
import { socket as socketActions } from '../state/actions';
import { getWrapWidth, setConnectDefaults } from '../state/app';
import { addMessages } from '../state/messages';
import { select, updateSelection } from '../state/tab';
import { find } from '../util';
import { when } from '../util/observe';
import { replace } from '../util/router';
import { socket as socketActions } from 'state/actions';
import { getWrapWidth, setConnectDefaults } from 'state/app';
import { addMessages } from 'state/messages';
import { select, updateSelection } from 'state/tab';
import { find } from 'util';
import { when } from 'util/observe';
import { replace } from 'util/router';
export default function initialState({ store }) {
const env = JSON.parse(document.getElementById('env').innerHTML);