ui: Remove random undefined from codemod run (#9370)

This commit is contained in:
John Cowen 2020-12-11 09:33:43 +00:00 committed by GitHub
parent 7ea383fce6
commit 21e5a8f0f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -82,7 +82,6 @@ export default class DcRoute extends Route {
// https://deprecations.emberjs.com/v3.x/#toc_deprecate-router-events // https://deprecations.emberjs.com/v3.x/#toc_deprecate-router-events
@action @action
willTransition(transition) { willTransition(transition) {
undefined;
if ( if (
typeof transition !== 'undefined' && typeof transition !== 'undefined' &&
(transition.from.name.endsWith('nspaces.create') || (transition.from.name.endsWith('nspaces.create') ||