diff --git a/index.html b/index.html index 4af18b5..ad35306 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,9 @@ - - + + - - - + + + Codex Testnet diff --git a/src/App.vue b/src/App.vue index 70c5f0c..f9a70a1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -148,16 +148,14 @@ function handleStorageEvent(event) { } } let lastStoreTimestamp = 0 -requestsStore.$subscribe( - (_mutation, state) => { - lastStoreTimestamp = Date.now() - const storeEventMeta = { - source: window.name, - timestamp: Date.now() - } - window.localStorage.setItem(localStorageMetaKey, serializer.serialize(storeEventMeta)) +requestsStore.$subscribe((_mutation, state) => { + lastStoreTimestamp = Date.now() + const storeEventMeta = { + source: window.name, + timestamp: Date.now() } -) + window.localStorage.setItem(localStorageMetaKey, serializer.serialize(storeEventMeta)) +}) async function detectRunningCodexNode() { try { @@ -183,44 +181,7 @@ onUnmounted(() => {