mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 15:30:27 +03:00
Remove comment from when we embedded the anchors
This commit is contained in:
parent
c8319b4402
commit
511a16eedc
1 changed files with 1 additions and 4 deletions
|
|
@ -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]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue