We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f1b670 commit 92c25a4Copy full SHA for 92c25a4
packages/ramps-controller/src/RampsController.ts
@@ -359,14 +359,11 @@ export class RampsController extends BaseController<
359
cacheKey,
360
async () => {
361
const result = await this.messenger.call('RampsService:getGeolocation');
362
- // DEMO: Append random suffix to show when fresh data is fetched vs cached
363
- const randomSuffix = Math.random().toString(36).substring(2, 8);
364
- return `${result}-${randomSuffix}`;
+ return result;
365
},
366
options,
367
);
368
369
- // Also update the dedicated geolocation field for backwards compatibility
370
this.update((state) => {
371
state.geolocation = geolocation;
372
});
0 commit comments