mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 14:54:26 +01:00
Mutiny Address
use check_lnurl_name update to rc1 use env vars set nip05 if not set update to rc2 public zaps use privacy_level in activity item get profile from nostr if not a contact rc3, update env vars and use them for domain async nostr things
This commit is contained in:
committed by
Paul Miller
parent
bdb0611e81
commit
c313debd34
@@ -1,5 +1,5 @@
|
||||
import { MutinyWallet } from "@mutinywallet/mutiny-wasm";
|
||||
import { useNavigate } from "@solidjs/router";
|
||||
import { createAsync, useNavigate } from "@solidjs/router";
|
||||
import { Search } from "lucide-solid";
|
||||
import {
|
||||
createEffect,
|
||||
@@ -40,10 +40,9 @@ export function NostrActivity() {
|
||||
const i18n = useI18n();
|
||||
const [state, _actions] = useMegaStore();
|
||||
|
||||
const [data, { refetch }] = createResource(
|
||||
state.mutiny_wallet?.get_npub(),
|
||||
fetchZaps
|
||||
);
|
||||
const npub = createAsync(async () => state.mutiny_wallet?.get_npub());
|
||||
|
||||
const [data, { refetch }] = createResource(npub, fetchZaps);
|
||||
|
||||
function nameFromHexpub(hexpub: string): string {
|
||||
const profile = data.latest?.profiles[hexpub];
|
||||
|
||||
Reference in New Issue
Block a user