mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 04:43:03 -05:00
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>
This commit is contained in:
committed by
GitHub
parent
e0f6038f2d
commit
193ecc79bd
@@ -11,8 +11,8 @@ export class CityStore {
|
|||||||
this.cities.set(cities);
|
this.cities.set(cities);
|
||||||
}
|
}
|
||||||
|
|
||||||
addOne(student: City) {
|
addOne(city: City) {
|
||||||
this.cities.set([...this.cities(), student]);
|
this.cities.set([...this.cities(), city]);
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteOne(id: number) {
|
deleteOne(id: number) {
|
||||||
|
|||||||
Reference in New Issue
Block a user