Remove local storage npub

This commit is contained in:
benthecarman
2024-03-26 16:49:48 -05:00
committed by Paul Miller
parent 91c65ebb0d
commit e4d0287578
3 changed files with 5 additions and 10 deletions

View File

@@ -40,7 +40,10 @@ export function NostrActivity() {
const i18n = useI18n();
const [state, _actions] = useMegaStore();
const [data, { refetch }] = createResource(state.npub, fetchZaps);
const [data, { refetch }] = createResource(
state.mutiny_wallet?.get_npub(),
fetchZaps
);
function nameFromHexpub(hexpub: string): string {
const profile = data.latest?.profiles[hexpub];