From 68545b40f15fd77adda925bbb3d7fff6b748ed49 Mon Sep 17 00:00:00 2001 From: Uncle Fatso Date: Tue, 28 Apr 2026 13:14:28 +0300 Subject: [PATCH] make local storage logic to be context Signed-off-by: Uncle Fatso --- package.json | 2 +- src/hooks/localstorage/index.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 26a0944..ab05607 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ghost-dao-interface", "private": true, - "version": "0.7.21", + "version": "0.7.22", "type": "module", "scripts": { "dev": "vite", diff --git a/src/hooks/localstorage/index.jsx b/src/hooks/localstorage/index.jsx index a1e0d96..1f2dc8e 100644 --- a/src/hooks/localstorage/index.jsx +++ b/src/hooks/localstorage/index.jsx @@ -15,7 +15,7 @@ export const LocalStorageProvider = ({ children }) => { } const setStorageValue = (chainId, address, target, value) => { - const key = getStorageKey(prefix, chainId, address, target); + const key = getStorageKey(chainId, address, target); localStorage.setItem(key, JSON.stringify(value)); }