Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nailgun committed Aug 7, 2020
1 parent f74812d commit 21d9448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
compose,
} from 'redux';

import createHistory from 'history/createHashHistory';
import { createHashHistory } from 'history';

import { routerMiddleware } from 'react-router-redux';
import createSagaMiddleware from 'redux-saga';
Expand All @@ -13,7 +13,7 @@ import thunkMiddleware from 'redux-thunk';
import customMiddleware from './middleware';
import { reducers, sagas } from './modules';

export const history = createHistory();
export const history = createHashHistory();
const sagaMiddleware = createSagaMiddleware();

const initialState = {};
Expand Down

0 comments on commit 21d9448

Please sign in to comment.