Extension login infinite loading #198
@ -25,8 +25,8 @@ import { NIP05_REGEX } from '../../constants'
|
|||||||
import styles from './styles.module.scss'
|
import styles from './styles.module.scss'
|
||||||
|
|
||||||
import { TimeoutError } from '../../types/errors/TimeoutError'
|
import { TimeoutError } from '../../types/errors/TimeoutError'
|
||||||
const EXTENSION_LOGIN_DELAY_SECONDS = 2
|
const EXTENSION_LOGIN_DELAY_SECONDS = 5
|
||||||
const EXTENSION_LOGIN_TIMEOUT_SECONDS = EXTENSION_LOGIN_DELAY_SECONDS + 10
|
const EXTENSION_LOGIN_TIMEOUT_SECONDS = EXTENSION_LOGIN_DELAY_SECONDS + 55
|
||||||
|
|
||||||
export const Nostr = () => {
|
export const Nostr = () => {
|
||||||
const [searchParams] = useSearchParams()
|
const [searchParams] = useSearchParams()
|
||||||
@ -375,7 +375,14 @@ export const Nostr = () => {
|
|||||||
<LoadingSpinner desc={loadingSpinnerDesc}>
|
<LoadingSpinner desc={loadingSpinnerDesc}>
|
||||||
{isExtensionSlow && (
|
{isExtensionSlow && (
|
||||||
<>
|
<>
|
||||||
<p>Extension is not responding</p>
|
<p>
|
||||||
|
Your nostr extension is not responding. Check these
|
||||||
|
alternatives:{' '}
|
||||||
|
<a href="https://github.com/aljazceru/awesome-nostr?tab=readme-ov-file#nip-07-browser-extensions">
|
||||||
|
https://github.com/aljazceru/awesome-nostr
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<br />
|
||||||
<Button
|
<Button
|
||||||
fullWidth
|
fullWidth
|
||||||
variant="contained"
|
variant="contained"
|
||||||
|
Loading…
Reference in New Issue
Block a user