chore: fix bad merge in codeGenerator.ts (#5196)

This commit is contained in:
Dmitry Gozman 2021-01-27 17:45:27 -08:00 committed by GitHub
parent 2793d14409
commit e915e51ea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,7 +94,7 @@ export class CodeGenerator {
}
if (lastAction && action.name === 'navigate' && lastAction.name === 'navigate') {
if (action.url === lastAction.url) {
this._currentAction = undefined;
this._currentAction = null;
return;
}
}