Skip to content

Commit

Permalink
refactor: bool
Browse files Browse the repository at this point in the history
  • Loading branch information
coding-ice committed Aug 12, 2024
1 parent f39a3f5 commit e797127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/nodeUtil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function convertItemsToNodes(
return (
<MergedMenuItem key={mergedKey} {...restProps}>
{label}
{extra && <span>{extra}</span>}
{!!extra && <span>{extra}</span>}
</MergedMenuItem>
);
}
Expand Down

0 comments on commit e797127

Please sign in to comment.