Skip to content

Commit de2f404

Browse files
committed
wip -- abandon --no-verify
1 parent 11fcf49 commit de2f404

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/components/Menubar/MenubarSubmenu.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ export function MenubarSubmenu({
276276
if (activeItem) {
277277
const activeItemNode = activeItem.firstChild;
278278

279+
if (!activeItemNode) return;
280+
279281
const isDisabled =
280282
activeItemNode.getAttribute('aria-disabled') === 'true';
281283

0 commit comments

Comments
 (0)