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:
Matthieu Riegler 2023-02-14 22:53:41 +01:00 committed by Jessica Janiuk
parent 6d9e979be1
commit 8beb8526be

View file

@ -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++;