aboutsummaryrefslogtreecommitdiff
path: root/source/library/state/history.svelte.ts
diff options
context:
space:
mode:
authornetop://ウィビ <paul@webb.page>2026-04-26 20:18:30 -0700
committernetop://ウィビ <paul@webb.page>2026-04-26 20:18:30 -0700
commit3c06c95f396b6e911076bc3291d5855ed01b5caa (patch)
tree17cd218339c52fbeee93d931303b04a3ff294f8b /source/library/state/history.svelte.ts
parentf059d97ab7f6d74d61139ac698cb871be7cb632e (diff)
downloadgraphiql-3c06c95f396b6e911076bc3291d5855ed01b5caa.tar.gz
graphiql-3c06c95f396b6e911076bc3291d5855ed01b5caa.zip
cleanup and ready for launch
Diffstat (limited to 'source/library/state/history.svelte.ts')
-rw-r--r--source/library/state/history.svelte.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/library/state/history.svelte.ts b/source/library/state/history.svelte.ts
index 2726283..80de3c0 100644
--- a/source/library/state/history.svelte.ts
+++ b/source/library/state/history.svelte.ts
@@ -32,12 +32,10 @@ export type HistoryInput = {
export class HistoryStore {
entries = $state<HistoryEntry[]>([]);
-
#storage: Storage;
constructor(storage: Storage) {
this.#storage = storage;
-
const restored = storage.get<HistoryEntry[]>(STORAGE_KEY);
if (Array.isArray(restored))