Skip to content

Commit

Permalink
fix: rename variable name "student" to "city" for clarity in addOne m…
Browse files Browse the repository at this point in the history
…ethod in CityStore (#1232)

Co-authored-by: BRACITS\tamim.arefin <[email protected]>
  • Loading branch information
tamim36 and BRACITS\tamim.arefin authored Feb 26, 2025
1 parent e0f6038 commit 193ecc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/angular/1-projection/src/app/data-access/city.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export class CityStore {
this.cities.set(cities);
}

addOne(student: City) {
this.cities.set([...this.cities(), student]);
addOne(city: City) {
this.cities.set([...this.cities(), city]);
}

deleteOne(id: number) {
Expand Down

0 comments on commit 193ecc7

Please sign in to comment.