redux: fixed performance regression

This commit is contained in:
muerwre 2018-11-26 17:27:06 +07:00
parent 2171a50ef1
commit 0f3217f5df
8 changed files with 88 additions and 96 deletions

View file

@ -122,6 +122,7 @@ export class Router {
};
submitDrawing = () => {
console.log('ROUT', this.router);
const [route] = this.router._routes;
if (!route) return;