From ad20e04000e8ce6600b6851691b43fea966c58ed Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 3 Dec 2024 09:13:02 -0700 Subject: [PATCH] fix --- src/classes/notifications.ts | 2 +- src/views/signin/start.tsx | 16 ---------------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/src/classes/notifications.ts b/src/classes/notifications.ts index 56b018c..344f1c9 100644 --- a/src/classes/notifications.ts +++ b/src/classes/notifications.ts @@ -92,7 +92,7 @@ export default class AccountNotifications { } } - throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 200); + throttleUpdateTimeline = _throttle(this.updateTimeline.bind(this), 10); updateTimeline() { const muteList = replaceableEventsService.getEvent(MUTE_LIST_KIND, this.pubkey).value; const mutedPubkeys = muteList ? getPubkeysFromList(muteList).map((p) => p.pubkey) : []; diff --git a/src/views/signin/start.tsx b/src/views/signin/start.tsx index f795064..25257e3 100644 --- a/src/views/signin/start.tsx +++ b/src/views/signin/start.tsx @@ -71,7 +71,6 @@ export default function LoginStartView() { } catch (e) { if (e instanceof Error) toast({ description: e.message, status: "error" }); } - navigate("/relays"); } if (loading) return ; @@ -107,21 +106,6 @@ export default function LoginStartView() { /> )} - {AmberSigner.SUPPORTED && ( - - - } - /> - - )} OR