Don't call history.back when there is no previous history #283

Merged
6ea86b96 merged 1 commit from no-history into master 2017-06-26 18:31:42 +02:00

View file

@ -61,6 +61,8 @@ export function doChangePath(path) {
export function doHistoryBack() {
return function(dispatch, getState) {
if (!history.state) return;
history.back();
};
}