From f0311dea3e7a1f5e395e665007b448e749e9d188 Mon Sep 17 00:00:00 2001 From: AssahBismarkabah Date: Wed, 20 Mar 2024 16:36:22 +0100 Subject: [PATCH] fix: updated storagecontext.tsx --- power-pay-frontend/src/hooks/StorageContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/power-pay-frontend/src/hooks/StorageContext.tsx b/power-pay-frontend/src/hooks/StorageContext.tsx index 867711ba..6b82ead8 100644 --- a/power-pay-frontend/src/hooks/StorageContext.tsx +++ b/power-pay-frontend/src/hooks/StorageContext.tsx @@ -89,7 +89,7 @@ export function StorageProvider({ children, storageService }: PropsWithChildr }, removeItem: async (key) => clearItem(key), clear: async () => { - localStorage.clear(); + // localStorage.clear(); setStoredValue({}); return true; },