fix(left-sidebar): remove tooltip content components

This commit is contained in:
RadoslavDimchev 2024-04-10 17:31:41 +03:00 committed by Radoslav Dimchev
parent 554d17a65a
commit 8c244fd427
1 changed files with 3 additions and 12 deletions

View File

@ -8,9 +8,9 @@ import {
ActivityCenterIcon,
SettingsIcon,
} from '@status-im/icons'
import { XStack, YStack } from 'tamagui'
import { YStack } from 'tamagui'
import { useSelector } from 'react-redux'
import { Text, Tooltip } from '@status-im/components'
import { Tooltip } from '@status-im/components'
import LeftSidebarIconButton from './LeftSidebarIconButton'
import { SidebarButton } from '../../../redux/LeftSidebar/slice'
@ -54,16 +54,7 @@ const LeftSidebar = () => {
}}
>
{buttons.map((button: SidebarButton) => (
<Tooltip
side="right"
content={
<XStack alignItems="center" space="$1">
<Text size={15} weight="semibold">
{button.tooltip}
</Text>
</XStack>
}
>
<Tooltip side="right" content={button.tooltip}>
<div style={{ padding: '3px', cursor: 'pointer' }}>
<LeftSidebarIconButton
key={button.path}