clearing route on new position

This commit is contained in:
Fedor Katurov 2020-01-22 13:03:52 +07:00
parent 9a08ccd95b
commit 7c931f4f6d
3 changed files with 36 additions and 23 deletions

View file

@ -241,7 +241,7 @@ function* keyPressedSaga({ key, target }: ReturnType<typeof editorKeyPressed>) {
}
} else if (key === 'z') {
yield put(editorUndo())
} else if (key === 'u') {
} else if (key === 'x') {
yield put(editorRedo())
}
}