mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2025-12-18 14:54:26 +01:00
Remove local storage npub
This commit is contained in:
committed by
Paul Miller
parent
91c65ebb0d
commit
e4d0287578
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user