remove createHashHistory from the history sink

This commit is contained in:
Erik Krogh Kristensen
2021-06-07 15:20:55 +02:00
parent d30f53a21a
commit 5419143e72
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ function bar() {
history.push(payload); // NOT OK
}
function baz() {
const history = require('history').createHashHistory();
const history = require('history').createBrowserHistory();
var payload = history.location.hash.substr(1);
history.replace(payload); // NOT OK