Skip to content

Commit

Permalink
fix: remove if condition before calling storageService.setItem
Browse files Browse the repository at this point in the history
  • Loading branch information
AssahBismarkabah committed Mar 20, 2024
1 parent 089b27e commit e933383
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions power-pay-frontend/src/hooks/StorageContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export function StorageProvider<T>({ children, storageService }: PropsWithChildr
},
removeItem: async (key) => clearItem(key),
clear: async () => {
// localStorage.clear();
setStoredValue({});
return true;
},
Expand Down

0 comments on commit e933383

Please sign in to comment.