Merge pull request #32 from nimbus-gui/hn.fix-connectDevicePage

Update ConnectDevicePage.tsx
This commit is contained in:
Hristo Nedelkov 2023-12-15 13:04:50 +02:00 committed by GitHub
commit ac9eb307a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import { useEffect, useState } from 'react'
import BreadcrumbBar from '../../components/General/BreadcrumbBar/BreadcrumbBar'
import { Button as StatusButton, Text, Avatar, Checkbox } from '@status-im/components'
import { Label, Separator, Stack, XStack, YStack } from 'tamagui'
import { Article, Label, Separator, Stack, XStack, YStack } from 'tamagui'
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
import Titles from '../../components/General/Titles'
import LabelInputField from '../../components/General/LabelInputField'
@ -18,7 +18,6 @@ const ConnectDevicePage = () => {
setWindowWidth(window.innerWidth)
}
window.addEventListener('resize', handleResize)
return () => window.removeEventListener('resize', handleResize)
}, [])
@ -46,7 +45,7 @@ const ConnectDevicePage = () => {
<YStack space={'$3'}>
<Header selectedTag="connect" />
<article className="content">
<Article className="content">
<Titles
title="Connect Device"
subtitle="Configure your device to connect to the Nimbus Node Manager"
@ -113,7 +112,7 @@ const ConnectDevicePage = () => {
<Separator alignSelf="stretch" borderColor={'#F0F2F5'} />
</YStack>
<StatusButton icon={<NodeIcon size={20} />}>Connect Device</StatusButton>
</article>
</Article>
</YStack>
</PageWrapperShadow>
)