fix: remove connect device tab
This commit is contained in:
parent
a468f3283c
commit
b8ad2b0a3f
|
@ -1,7 +1,7 @@
|
|||
import { Tag } from '@status-im/components'
|
||||
import { XStack } from 'tamagui'
|
||||
import './TagContainer.css'
|
||||
import { ConnectionIcon, AddSmallIcon, SwapIcon } from '@status-im/icons'
|
||||
import { AddSmallIcon, SwapIcon } from '@status-im/icons'
|
||||
import { useNavigate } from 'react-router'
|
||||
|
||||
type TagContainerProps = {
|
||||
|
@ -11,10 +11,6 @@ type TagContainerProps = {
|
|||
const TagContainer = ({ selectedTag }: TagContainerProps) => {
|
||||
const navigate = useNavigate()
|
||||
|
||||
const onPressConnect = () => {
|
||||
navigate('/connect-device')
|
||||
}
|
||||
|
||||
const onPressPair = () => {
|
||||
navigate('/pair-device')
|
||||
}
|
||||
|
@ -25,15 +21,6 @@ const TagContainer = ({ selectedTag }: TagContainerProps) => {
|
|||
|
||||
return (
|
||||
<XStack space={'$2'} alignItems="center" className="tag-container">
|
||||
{selectedTag === 'connect' ? (
|
||||
<Tag
|
||||
selected={selectedTag === 'connect'}
|
||||
icon={ConnectionIcon}
|
||||
label="Connect"
|
||||
size={32}
|
||||
onPress={onPressConnect}
|
||||
/>
|
||||
) : null}
|
||||
<Tag
|
||||
selected={selectedTag === 'pair'}
|
||||
icon={SwapIcon}
|
||||
|
|
Loading…
Reference in New Issue