fix: filter goals by host

This commit is contained in:
Alejandro Gomez
2023-07-06 21:46:59 +02:00
parent 85db515124
commit 986b44b7b6
3 changed files with 9 additions and 4 deletions

View File

@ -108,7 +108,8 @@ export function StreamPage() {
const params = useParams();
const link = parseNostrLink(params.id!);
const { data: ev } = useEventFeed(link, true);
const goal = useZapGoal(link, true);
const host = getHost(ev);
const goal = useZapGoal(host, link, true);
return (
<>