mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-26 07:39:59 -07:00
general: fixes
This commit is contained in:
@@ -8431,6 +8431,7 @@ lazySignals.then((importedSignals) => {
|
||||
const head = history.at(0);
|
||||
if (
|
||||
head &&
|
||||
head.preset === preset &&
|
||||
dateToTestedString(new Date()) === dateToTestedString(head.date)
|
||||
) {
|
||||
return;
|
||||
@@ -8452,10 +8453,11 @@ lazySignals.then((importedSignals) => {
|
||||
serializedHistory.length = MAX_HISTORY_LENGTH;
|
||||
}
|
||||
|
||||
localStorage.setItem(
|
||||
LOCAL_STORAGE_HISTORY_KEY,
|
||||
JSON.stringify(serializedHistory)
|
||||
);
|
||||
const jsonHistory = JSON.stringify(serializedHistory);
|
||||
|
||||
console.log(jsonHistory);
|
||||
|
||||
localStorage.setItem(LOCAL_STORAGE_HISTORY_KEY, jsonHistory);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user