Заменил redux-simple-router на react-router-redux (пакет переименовался). Добавил пакетов в vendor.js

This commit is contained in:
SleepWalker
2016-01-31 18:41:49 +02:00
parent 78ccd3a756
commit 306d0641fb
4 changed files with 15 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { routeActions } from 'redux-simple-router';
import { routeActions } from 'react-router-redux';
import { FormattedMessage as Message } from 'react-intl';
import Helmet from 'react-helmet';

View File

@@ -13,7 +13,7 @@ import { Provider as ReduxProvider } from 'react-redux';
import thunk from 'redux-thunk';
import { Router, browserHistory } from 'react-router';
import { syncHistory, routeReducer } from 'redux-simple-router';
import { syncHistory, routeReducer } from 'react-router-redux';
import { IntlProvider } from 'react-intl';