fix: body is not used if ListItem is not a link
This commit is contained in:
@ -121,7 +121,9 @@ const ListItem: React.FC<IListItem> = ({ label, hint, children, to, onClick, onS
|
||||
<Comp
|
||||
className={className}
|
||||
{...linkProps}
|
||||
/>
|
||||
>
|
||||
{body}
|
||||
</Comp>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user