mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 00:40:09 +00:00
fix: remove connect from types
This commit is contained in:
parent
fe829236eb
commit
06a2c5dc9b
@ -25,9 +25,3 @@ export const CreateTag: Story = {
|
||||
selectedTag: 'create',
|
||||
},
|
||||
}
|
||||
|
||||
export const ConnectTag: Story = {
|
||||
args: {
|
||||
selectedTag: 'connect',
|
||||
},
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ import NimbusLogo from '../Logos/NimbusLogo'
|
||||
import TagContainer from './TagContainer'
|
||||
|
||||
type HeaderProps = {
|
||||
selectedTag: 'pair' | 'create' | 'connect'
|
||||
selectedTag: 'pair' | 'create'
|
||||
}
|
||||
|
||||
const Header = ({ selectedTag }: HeaderProps) => {
|
||||
|
@ -4,7 +4,7 @@ import { AddSmallIcon, SwapIcon } from '@status-im/icons'
|
||||
import { useNavigate } from 'react-router'
|
||||
|
||||
type TagContainerProps = {
|
||||
selectedTag: 'pair' | 'create' | 'connect'
|
||||
selectedTag: 'pair' | 'create'
|
||||
}
|
||||
|
||||
const TAGS = [
|
||||
|
@ -43,8 +43,7 @@ const ConnectDevicePage = () => {
|
||||
rightImageLogo={true}
|
||||
>
|
||||
<YStack space={'$3'}>
|
||||
<Header selectedTag="connect" />
|
||||
|
||||
<Header selectedTag="pair" />
|
||||
<Article className="content">
|
||||
<Titles
|
||||
title="Connect Device"
|
||||
|
Loading…
x
Reference in New Issue
Block a user