Update ConnectExistingInstance.tsx

This commit is contained in:
Hristo Nedelkov 2023-09-25 21:46:38 +03:00
parent 8229810c18
commit a855b7d84f
1 changed files with 3 additions and 7 deletions

View File

@ -18,9 +18,6 @@ const ConnectExistingInstance = () => {
setEncryptedPassword(value)
}
const clearEncryptedPasswordHandler = () => {
setEncryptedPassword('')
}
return (
<PageWrapperShadow rightImageSrc="./background-images/day-night-bg.png" rightImageLogo={true}>
<YStack
@ -57,8 +54,8 @@ const ConnectExistingInstance = () => {
<ClearIcon
size={16}
color="#A1ABBD"
onClick={()=>setEncryptedPassword('')}
style={{ cursor: 'pointer' }}
onClick={clearEncryptedPasswordHandler}
/>
}
value={encryptedPassword}
@ -72,7 +69,6 @@ const ConnectExistingInstance = () => {
<XStack space={'$4'}>
<Button icon={<CompleteIdIcon size={20} color="#2A4AF5" />} variant='outline' >Pair with ID </Button>
</XStack>
<Separator borderColor={'#e3e3e3'} />
<XStack>
<Button icon={<NodeIcon size={20} />} >