Update client dependencies

This commit is contained in:
Ken-Håvard Lieng 2016-02-04 03:35:50 +01:00
parent dbe9d03352
commit 7108fa572c
19 changed files with 109 additions and 116 deletions

View file

@ -1,5 +1,5 @@
import { Record, List } from 'immutable';
import { UPDATE_LOCATION } from 'redux-simple-router';
import { UPDATE_LOCATION } from 'react-router-redux';
import createReducer from '../util/createReducer';
import * as actions from '../actions';
@ -39,7 +39,7 @@ export default createReducer(new State(), {
},
[UPDATE_LOCATION](state, action) {
if (action.location.pathname.indexOf('.') === -1 && state.selected.server) {
if (action.payload.pathname.indexOf('.') === -1 && state.selected.server) {
return state.set('selected', new Tab());
}