make bridge-in to be stored in history in any case

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2026-11-07 15:29:14 +03:00
parent e42f5db893
commit ce6e316feb
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "ghost-dao-interface", "name": "ghost-dao-interface",
"private": true, "private": true,
"version": "0.8.2", "version": "0.8.3",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@ -82,7 +82,7 @@ export const LocalStorageProvider = ({ children }) => {
const tryStoreInHistory = async (chainId, address, target, txHash, name) => { const tryStoreInHistory = async (chainId, address, target, txHash, name) => {
const historyKey = getStorageKey(chainId, address, HISTORY_PREFIX); const historyKey = getStorageKey(chainId, address, HISTORY_PREFIX);
const storedHistoryTypes = localStorage.getItem(historyKey); const storedHistoryTypes = localStorage.getItem(historyKey);
const historyTypes = storedHistoryTypes ? JSON.parse(storedHistoryTypes) : []; const historyTypes = storedHistoryTypes ? JSON.parse(storedHistoryTypes) : DEFAULT_HISTORY_TYPES;
if (!historyTypes.includes(target)) return; if (!historyTypes.includes(target)) return;
const key = getStorageKey(chainId, address, target); const key = getStorageKey(chainId, address, target);