fix(left-sidebar-icon-button): remove static dot
This commit is contained in:
parent
a8de9dd20c
commit
dbc834d19f
|
@ -1,5 +1,4 @@
|
|||
import { IconAvatarProps, IconButton } from '@status-im/components'
|
||||
import { Stack } from 'tamagui'
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
type IconButtonWithDotProps = {
|
||||
|
@ -8,7 +7,6 @@ type IconButtonWithDotProps = {
|
|||
}
|
||||
|
||||
const LeftSidebarIconButton = ({ icon, path }: IconButtonWithDotProps) => {
|
||||
const isDotOn = path === '/notifications'
|
||||
const isDisabled =
|
||||
path === '/advanced-analytics' ||
|
||||
path === '/community' ||
|
||||
|
@ -23,20 +21,6 @@ const LeftSidebarIconButton = ({ icon, path }: IconButtonWithDotProps) => {
|
|||
selected={path === window.location.pathname}
|
||||
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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue