From 9191336722c234eb1945e06230099051c7fc9df3 Mon Sep 17 00:00:00 2001 From: enes Date: Thu, 12 Sep 2024 12:17:58 +0200 Subject: [PATCH] refactor(login): update the delay message and increase timers --- src/pages/nostr/index.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/pages/nostr/index.tsx b/src/pages/nostr/index.tsx index 8726c6e..557d9e3 100644 --- a/src/pages/nostr/index.tsx +++ b/src/pages/nostr/index.tsx @@ -25,8 +25,8 @@ import { NIP05_REGEX } from '../../constants' import styles from './styles.module.scss' import { TimeoutError } from '../../types/errors/TimeoutError' -const EXTENSION_LOGIN_DELAY_SECONDS = 2 -const EXTENSION_LOGIN_TIMEOUT_SECONDS = EXTENSION_LOGIN_DELAY_SECONDS + 10 +const EXTENSION_LOGIN_DELAY_SECONDS = 5 +const EXTENSION_LOGIN_TIMEOUT_SECONDS = EXTENSION_LOGIN_DELAY_SECONDS + 55 export const Nostr = () => { const [searchParams] = useSearchParams() @@ -375,7 +375,14 @@ export const Nostr = () => { {isExtensionSlow && ( <> -

Extension is not responding

+

+ Your nostr extension is not responding. Check these + alternatives:{' '} + + https://github.com/aljazceru/awesome-nostr + +

+