vishnukvmd 1 year ago
parent
commit
b84ad8a5bb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      apps/photos/src/services/locationSearchService.ts

+ 1 - 0
apps/photos/src/services/locationSearchService.ts

@@ -19,6 +19,7 @@ class LocationSearchService {
         if (this.citiesPromise) {
         if (this.citiesPromise) {
             return;
             return;
         }
         }
+        // TODO: Ensure the response is cached on the client
         this.citiesPromise = fetch(CITIES_URL).then((response) => {
         this.citiesPromise = fetch(CITIES_URL).then((response) => {
             return response.json().then((data) => {
             return response.json().then((data) => {
                 this.cities = data['data'];
                 this.cities = data['data'];