fix(ContextMenu): missing semi

This commit is contained in:
Timothy Z. 2025-03-25 17:01:57 +02:00
parent c1d317acf7
commit cd65f77d60

View file

@ -75,7 +75,7 @@ const ContextMenu = ({ children, on, autoClose }: Props) => {
return () => {
on.forEach((ref) => ref.current && ref.current.removeEventListener('contextmenu', onContextMenu));
document.removeEventListener('keydown', handleKeyDown);
}
};
}, [on]);
return active && createPortal((