refactor(devtools): Removes redundant input undefined in angularVersion

Simplifies the initialization of the version input by removing
an unnecessary undefined

(cherry picked from commit bd27e96273)
This commit is contained in:
SkyZeroZx 2025-10-27 21:50:01 -05:00 committed by Andrew Scott
parent a4fe078969
commit c4742322dc

View file

@ -117,7 +117,7 @@ export class DevToolsTabsComponent {
);
TOP_LEVEL_FRAME_ID = TOP_LEVEL_FRAME_ID;
readonly angularVersion = input<string | undefined>(undefined);
readonly angularVersion = input<string | undefined>();
readonly majorAngularVersion = computed(() => {
const version = this.angularVersion();
if (!version) {