chore: Update syntax, improve more typing (#1439)
* chore: <React.Fragment> to <> * flow types
This commit is contained in:
@ -26,12 +26,12 @@ const DropdownMenuItem = ({
|
||||
{...rest}
|
||||
>
|
||||
{selected !== undefined && (
|
||||
<React.Fragment>
|
||||
<>
|
||||
<CheckmarkIcon
|
||||
color={selected === false ? "transparent" : undefined}
|
||||
/>
|
||||
|
||||
</React.Fragment>
|
||||
</>
|
||||
)}
|
||||
{children}
|
||||
</MenuItem>
|
||||
|
Reference in New Issue
Block a user