diff --git a/apps/34-signal-solution/src/app/feature/update-person/update-person.component.ts b/apps/34-signal-solution/src/app/feature/update-person/update-person.component.ts index 33a77338..e294994b 100644 --- a/apps/34-signal-solution/src/app/feature/update-person/update-person.component.ts +++ b/apps/34-signal-solution/src/app/feature/update-person/update-person.component.ts @@ -14,7 +14,7 @@ export class UpdatePersonComponent { readonly #location = inject(Location); readonly #peopleService = inject(PeopleService); - personDetails = routerInput.required(null); + personDetails = routerInput.required(); updatePerson(person: PeopleForm): void { this.#peopleService.updatePerson(person).subscribe(() => this.goBack());