Skip to content

Commit 193ecc7

Browse files
tamim36BRACITS\tamim.arefin
andauthored
fix: rename variable name "student" to "city" for clarity in addOne method in CityStore (#1232)
Co-authored-by: BRACITS\tamim.arefin <tamim.arefin@bracits.com>
1 parent e0f6038 commit 193ecc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/angular/1-projection/src/app/data-access/city.store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export class CityStore {
1111
this.cities.set(cities);
1212
}
1313

14-
addOne(student: City) {
15-
this.cities.set([...this.cities(), student]);
14+
addOne(city: City) {
15+
this.cities.set([...this.cities(), city]);
1616
}
1717

1818
deleteOne(id: number) {

0 commit comments

Comments
 (0)