From 18dd9d1e13b50a746c569b7c7db7050d5e4d3fa0 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Fri, 22 Dec 2023 23:05:38 +0100 Subject: [PATCH] fix: recent location localstorage default value --- src/services/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/api.js b/src/services/api.js index 59e23dc2807..62f2f99c762 100644 --- a/src/services/api.js +++ b/src/services/api.js @@ -125,7 +125,7 @@ export default { }, clearRecentLocations() { - clearLocalStorageItem(RECENT_LOCATIONS_LOCAL_STORAGE_KEY) + clearLocalStorageItem(RECENT_LOCATIONS_LOCAL_STORAGE_KEY, []) }, getLastCurrencyUsed() {