Remove comment from when we embedded the anchors

This commit is contained in:
Gigiaj 2025-06-15 22:03:54 -05:00
parent c8319b4402
commit 511a16eedc

View file

@ -169,10 +169,7 @@ export function MessageOptionsMenu({
handleAddReactions, handleAddReactions,
setMenuAnchor, setMenuAnchor,
setEmojiBoardAnchor, setEmojiBoardAnchor,
}) { }: ExtendedOptionsProps) {
// const [menuAnchor, setMenuAnchor] = useState<RectCords>();
// const [emojiBoardAnchor, setEmojiBoardAnchor] = useState<RectCords>();
useEffect(() => { useEffect(() => {
onActiveStateChange?.(!!menuAnchor || !!emojiBoardAnchor); onActiveStateChange?.(!!menuAnchor || !!emojiBoardAnchor);
}, [emojiBoardAnchor, menuAnchor, onActiveStateChange]); }, [emojiBoardAnchor, menuAnchor, onActiveStateChange]);