diff --git a/src/hooks/goals.ts b/src/hooks/goals.ts index 1a85801..280e0fa 100644 --- a/src/hooks/goals.ts +++ b/src/hooks/goals.ts @@ -11,7 +11,7 @@ import { GOAL } from "const"; import { System } from "index"; import { findTag } from "utils"; -export function useGoal(link: NostrLink, leaveOpen = true) { +export function useGoal(link: NostrLink, leaveOpen = false) { const sub = useMemo(() => { const b = new RequestBuilder(`goals:${link.author!.slice(0, 12)}`); b.withOptions({ leaveOpen }); diff --git a/src/pages/chat-popout.tsx b/src/pages/chat-popout.tsx index 924bfa7..9661121 100644 --- a/src/pages/chat-popout.tsx +++ b/src/pages/chat-popout.tsx @@ -7,7 +7,7 @@ import useEventFeed from "../hooks/event-feed"; export function ChatPopout() { const params = useParams(); const link = parseNostrLink(params.id!); - const { data: ev } = useEventFeed(link); + const { data: ev } = useEventFeed(link, true); return (