chore: quick fix

This commit is contained in:
daniyal 2024-07-25 21:14:58 +05:00
parent 0aa8b9a38f
commit 252eab504f

View File

@ -66,6 +66,8 @@ export class RelayController {
// Connect to the application relay specified by environment variable // Connect to the application relay specified by environment variable
const appRelayPromise = this.connectRelay(import.meta.env.VITE_APP_RELAY) const appRelayPromise = this.connectRelay(import.meta.env.VITE_APP_RELAY)
// todo: window.nostr.getRelays() is not implemented yet in nostr-login, implement the logic once its done
// Retrieve the list of write relays for the event's public key // Retrieve the list of write relays for the event's public key
// Use a timeout to handle cases where retrieving write relays takes too long // Use a timeout to handle cases where retrieving write relays takes too long
const writeRelaysPromise = MetadataController.getInstance().findWriteRelays( const writeRelaysPromise = MetadataController.getInstance().findWriteRelays(