Update client dependencies

This commit is contained in:
Ken-Håvard Lieng 2016-01-15 20:56:03 +01:00
parent 383ca39354
commit d023f63a7c
9 changed files with 48 additions and 41 deletions

View file

@ -1,4 +1,4 @@
import { replacePath } from 'redux-simple-router';
import { routeActions } from 'redux-simple-router';
import { broadcast, inform, addMessage, addMessages } from './actions/message';
import { select } from './actions/tab';
import { normalizeChannel } from './util';
@ -37,7 +37,7 @@ export default function handleSocket(socket, { dispatch, getState }) {
socket.on('servers', data => {
if (!data) {
dispatch(replacePath('/connect'));
dispatch(routeActions.replace('/connect'));
}
});