fix(left-sidebar-icon-button): remove static dot

This commit is contained in:
RadoslavDimchev 2024-04-11 15:09:02 +03:00 committed by Radoslav Dimchev
parent a8de9dd20c
commit dbc834d19f
1 changed files with 0 additions and 16 deletions

View File

@ -1,5 +1,4 @@
import { IconAvatarProps, IconButton } from '@status-im/components' import { IconAvatarProps, IconButton } from '@status-im/components'
import { Stack } from 'tamagui'
import { Link } from 'react-router-dom' import { Link } from 'react-router-dom'
type IconButtonWithDotProps = { type IconButtonWithDotProps = {
@ -8,7 +7,6 @@ type IconButtonWithDotProps = {
} }
const LeftSidebarIconButton = ({ icon, path }: IconButtonWithDotProps) => { const LeftSidebarIconButton = ({ icon, path }: IconButtonWithDotProps) => {
const isDotOn = path === '/notifications'
const isDisabled = const isDisabled =
path === '/advanced-analytics' || path === '/advanced-analytics' ||
path === '/community' || path === '/community' ||
@ -23,20 +21,6 @@ const LeftSidebarIconButton = ({ icon, path }: IconButtonWithDotProps) => {
selected={path === window.location.pathname} selected={path === window.location.pathname}
disabled={isDisabled} disabled={isDisabled}
/> />
{isDotOn && (
<Stack
style={{
position: 'absolute',
right: 7,
top: 5,
width: '9px',
height: '9px',
borderRadius: '50%',
backgroundColor: '#1992D7',
border: '1.5px solid #fff',
}}
/>
)}
</Link> </Link>
) )
} }