feat: implemented mod details page #3

Merged
s merged 6 commits from mods-inner into master 2024-08-06 10:57:28 +00:00
Showing only changes of commit 252eab504f - Show all commits

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(