Removed unnecessary wrapper elements and improving readability.

This commit is contained in:
Tom Butcher 2025-07-14 23:04:44 +01:00
parent 3ad0002bbb
commit 0a897e663c

View File

@ -461,16 +461,9 @@ const SpotlightProvider = ({ children }) => {
align='center' align='center'
justify='space-between' justify='space-between'
> >
<Flex <Flex gap={'small'} align='center'>
gap={'small'} {Icon ? <Icon style={{ fontSize: '20px' }} /> : null}
style={{ marginBottom: '2px' }}
align='center'
>
<Text>
{Icon ? (
<Icon style={{ fontSize: '20px' }} />
) : null}
</Text>
{item.name ? ( {item.name ? (
<Text ellipsis style={{ maxWidth: 170 }}> <Text ellipsis style={{ maxWidth: 170 }}>
{item.name} {item.name}