Removed unnecessary wrapper elements and improving readability.
This commit is contained in:
parent
3ad0002bbb
commit
0a897e663c
@ -461,16 +461,9 @@ const SpotlightProvider = ({ children }) => {
|
||||
align='center'
|
||||
justify='space-between'
|
||||
>
|
||||
<Flex
|
||||
gap={'small'}
|
||||
style={{ marginBottom: '2px' }}
|
||||
align='center'
|
||||
>
|
||||
<Text>
|
||||
{Icon ? (
|
||||
<Icon style={{ fontSize: '20px' }} />
|
||||
) : null}
|
||||
</Text>
|
||||
<Flex gap={'small'} align='center'>
|
||||
{Icon ? <Icon style={{ fontSize: '20px' }} /> : null}
|
||||
|
||||
{item.name ? (
|
||||
<Text ellipsis style={{ maxWidth: 170 }}>
|
||||
{item.name}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user