From ba24e7417d99ba678b0eed4dd5e6c354e4a95921 Mon Sep 17 00:00:00 2001 From: enes Date: Fri, 13 Sep 2024 11:14:10 +0200 Subject: [PATCH] refactor: log timeout error only, no toast --- src/pages/nostr/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/nostr/index.tsx b/src/pages/nostr/index.tsx index 0467c9b..7933ba0 100644 --- a/src/pages/nostr/index.tsx +++ b/src/pages/nostr/index.tsx @@ -101,7 +101,8 @@ export const Nostr = () => { } } catch (error) { if (error instanceof TimeoutError) { - toast.error("Extension didn't respond in time") + // Just log the error, no toast, user has already been notified with the loading screen + console.error("Extension didn't respond in time") } else { toast.error('Error capturing public key from nostr extension: ' + error) }