mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor: remove duplicate key from component metadata (#49065)
`directiveMetadata()` already assigns the `standalone` property to the `R3ComponentMetadataFacade` there is no need to do it twice. PR Close #49065
This commit is contained in:
committed by
Jessica Janiuk
parent
6d9e979be1
commit
8beb8526be
@@ -125,7 +125,6 @@ export function compileComponent(type: Type<any>, metadata: Component): void {
|
||||
encapsulation,
|
||||
interpolation: metadata.interpolation,
|
||||
viewProviders: metadata.viewProviders || null,
|
||||
isStandalone: !!metadata.standalone,
|
||||
};
|
||||
|
||||
compilationDepth++;
|
||||
|
||||
Reference in New Issue
Block a user