Update history/react-router

This commit is contained in:
Berkeley Martinez
2016-03-02 19:45:54 -08:00
parent a2a988764c
commit c50510db71
7 changed files with 18 additions and 20 deletions

View File

@@ -4,7 +4,7 @@ import React from 'react';
import debug from 'debug';
import { Router } from 'react-router';
import { routeReducer as routing, syncHistory } from 'react-router-redux';
import { createLocation, createHistory } from 'history';
import { createHistory } from 'history';
import app$ from '../common/app';
import provideStore from '../common/app/provide-store';
@@ -23,7 +23,7 @@ const serviceOptions = { xhrPath: '/services' };
Rx.config.longStackSupport = !!debug.enabled;
const history = createHistory();
const appLocation = createLocation(
const appLocation = history.createLocation(
location.pathname + location.search
);
const routingMiddleware = syncHistory(history);