onPathNotMatch argument fixed

This commit is contained in:
NikolaBorislavovHristov 2019-04-22 12:18:47 +03:00
parent 136b6e288e
commit d12d586fc7

View file

@ -76,7 +76,7 @@ class Router extends React.Component {
return null;
}
onHashChanged = () => {
onHashChanged = (event) => {
const hashPath = this.getHashPath();
const routeConfig = this.routeConfigForPath(hashPath);
if (routeConfig === null) {