Skip to content

Commit

Permalink
Update src/SubMenu/index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: afc163 <[email protected]>
  • Loading branch information
wanpan11 and afc163 authored Feb 13, 2025
1 parent b2a450f commit 63a0a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SubMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const InternalSubMenu = React.forwardRef<HTMLLIElement, SubMenuProps>(
// =============================== Render ===============================
const popupId = domDataId && `${domDataId}-popup`;

const ExpandIconNode = React.useMemo(
const expandIconNode = React.useMemo(

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused variable expandIconNode.
() => (
<Icon
icon={mode !== 'horizontal' ? mergedExpandIcon : undefined}
Expand Down

0 comments on commit 63a0a92

Please sign in to comment.