From 5e82b0e3e93c11e3611e1e8843689efdf9293738 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:01:14 +1000 Subject: [PATCH] dark mode by default, remove alert buttons --- index.html | 10 +++--- src/App.vue | 55 +++++------------------------- src/components/StorageRequest.vue | 6 ++-- src/components/StorageRequests.vue | 9 +++-- 4 files changed, 23 insertions(+), 57 deletions(-) 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(() => {