Skip to content

Commit

Permalink
chore: upgrade wasm lib
Browse files Browse the repository at this point in the history
  • Loading branch information
v0l committed Jan 20, 2025
1 parent ea07f91 commit e3a8495
Show file tree
Hide file tree
Showing 12 changed files with 448 additions and 484 deletions.
2 changes: 1 addition & 1 deletion packages/app/src/Components/Event/Note/Note.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function Note(props: NoteProps) {
const { data: ev, highlight, options: opt, ignoreModeration = false, className, waitUntilInView } = props;
const baseClassName = classNames("note min-h-[110px] flex flex-col gap-4 card", className ?? "");
const { isEventMuted } = useModeration();
const { ref, inView } = useInView({ triggerOnce: true, rootMargin: "2000px" });
const { ref, inView } = useInView({ triggerOnce: true });
const { ref: setSeenAtRef, inView: setSeenAtInView } = useInView({ rootMargin: "0px", threshold: 1 });
const [showTranslation, setShowTranslation] = useState(true);
const [translated, setTranslated] = useState<NoteTranslation | null>(translationCache.get(ev.id));
Expand Down
2 changes: 1 addition & 1 deletion packages/system-react/src/useReactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function useReactions(
}
others?.(rb);
return rb;
}, [ids]);
}, [ids, others]);

return useRequestBuilder(sub);
}
Loading

0 comments on commit e3a8495

Please sign in to comment.