Skip to content

Commit 6a0add9

Browse files
LianaHusAniket-Engg
authored andcommitted
fixing vertical items context menu
1 parent 1875624 commit 6a0add9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/remix-ui/vertical-icons-panel/src/lib/vertical-icons-context-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const VerticalIconsContextMenu = (props: VerticalIconsContextMenuProps) => {
4141
menuRef.current.focus()
4242
}, [])
4343
useEffect (() => {
44-
setHasContextMenu(!props.links.Documentation && !props.links.CanDeactivate)
44+
setHasContextMenu(!props.links.Documentation || !props.links.CanDeactivate)
4545
}, [props.links])
4646

4747
return (

0 commit comments

Comments
 (0)