Skip to content

Commit 1a2dbe6

Browse files
committed
Removing the else part as per my conversation with Caleb
1 parent 39b8ae2 commit 1a2dbe6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/components/DesktopMenu/DesktopMenu.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ const DesktopMenu: React.FC<DesktopMenuProps> = ({
6262
key={`link-${group.name}`}
6363
/>
6464
);
65-
} else {
66-
// avoids returning unkeyed fragments.
67-
return null;
6865
}
6966
})}
7067
</Popover.Group>

0 commit comments

Comments
 (0)