Skip to content

Commit

Permalink
Remove unneeded branch
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Apr 25, 2024
1 parent 32a6ed2 commit 6a59827
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/@ember/-internals/glimmer/lib/resolver.ts
Expand Up @@ -267,10 +267,6 @@ export default class ResolverImpl
let key: object;

if (pair.component === null) {
if (DEPRECATIONS.DEPRECATE_COMPONENT_TEMPLATE_RESOLVING.isRemoved) {
return null;
}

key = template = pair.layout(owner);
} else {
key = pair.component;
Expand Down

0 comments on commit 6a59827

Please sign in to comment.