fix(left-sidebar): remove tooltip content components
This commit is contained in:
parent
554d17a65a
commit
8c244fd427
|
@ -8,9 +8,9 @@ import {
|
||||||
ActivityCenterIcon,
|
ActivityCenterIcon,
|
||||||
SettingsIcon,
|
SettingsIcon,
|
||||||
} from '@status-im/icons'
|
} from '@status-im/icons'
|
||||||
import { XStack, YStack } from 'tamagui'
|
import { YStack } from 'tamagui'
|
||||||
import { useSelector } from 'react-redux'
|
import { useSelector } from 'react-redux'
|
||||||
import { Text, Tooltip } from '@status-im/components'
|
import { Tooltip } from '@status-im/components'
|
||||||
|
|
||||||
import LeftSidebarIconButton from './LeftSidebarIconButton'
|
import LeftSidebarIconButton from './LeftSidebarIconButton'
|
||||||
import { SidebarButton } from '../../../redux/LeftSidebar/slice'
|
import { SidebarButton } from '../../../redux/LeftSidebar/slice'
|
||||||
|
@ -54,16 +54,7 @@ const LeftSidebar = () => {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{buttons.map((button: SidebarButton) => (
|
{buttons.map((button: SidebarButton) => (
|
||||||
<Tooltip
|
<Tooltip side="right" content={button.tooltip}>
|
||||||
side="right"
|
|
||||||
content={
|
|
||||||
<XStack alignItems="center" space="$1">
|
|
||||||
<Text size={15} weight="semibold">
|
|
||||||
{button.tooltip}
|
|
||||||
</Text>
|
|
||||||
</XStack>
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<div style={{ padding: '3px', cursor: 'pointer' }}>
|
<div style={{ padding: '3px', cursor: 'pointer' }}>
|
||||||
<LeftSidebarIconButton
|
<LeftSidebarIconButton
|
||||||
key={button.path}
|
key={button.path}
|
||||||
|
|
Loading…
Reference in New Issue