Files
talk/client/coral-framework/helpers/router.js
T
2017-07-31 09:52:46 +10:00

8 lines
225 B
JavaScript

import {useBasename} from 'history';
import {browserHistory} from 'react-router';
import {BASE_PATH} from 'coral-framework/constants/url';
export const history = useBasename(() => browserHistory)({
basename: BASE_PATH
});