editor: fixed editing cancelation on empty history

This commit is contained in:
muerwre 2018-11-27 09:23:38 +07:00
parent 72340ae428
commit 9e186397e0
2 changed files with 7 additions and 5 deletions

View file

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