2017-06-29 12:54:02 -06:00
|
|
|
import { browserHistory } from "react-router";
|
|
|
|
export let history = browserHistory;
|
|
|
|
export let push = (url: string) => history.push(url);
|
2017-07-24 18:33:27 -06:00
|
|
|
export let pathname = history.getCurrentLocation().pathname;
|