refactor: explicit leaveOpen

This commit is contained in:
Alejandro Gomez
2023-07-06 16:52:32 +02:00
parent 7dce7f5a73
commit 55fb812854
3 changed files with 3 additions and 3 deletions

View File

@ -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 });