Anon zap when logged out

This commit is contained in:
2023-07-06 00:12:56 +01:00
parent 7971f7154a
commit ae4815de46
6 changed files with 40 additions and 41 deletions

View File

@ -2,7 +2,7 @@ import { useMemo } from "react";
import {
RequestBuilder,
FlatNoteStore,
ParameterizedReplaceableNoteStore,
NoteCollection,
NostrLink,
EventKind,
parseZap,
@ -28,9 +28,9 @@ export function useProfile(link: NostrLink, leaveOpen = false) {
}, [link, leaveOpen]);
const { data: streamsData } =
useRequestBuilder<ParameterizedReplaceableNoteStore>(
useRequestBuilder<NoteCollection>(
System,
ParameterizedReplaceableNoteStore,
NoteCollection,
sub
);
const streams = streamsData ?? [];