Add API Token handlers
This commit is contained in:
parent
7946fa393a
commit
dedf4d3012
|
@ -19,8 +19,11 @@ const ConnectExistingInstance = () => {
|
|||
const isPairing = false
|
||||
const [encryptedPassword, setEncryptedPassword] = useState('')
|
||||
|
||||
const changeSetIsAwaitingPairing = (result: boolean) => {
|
||||
setIsAwaitingPairing(result)
|
||||
const changeEncryptedPasswordHandler = (value: string) => {
|
||||
setEncryptedPassword(value)
|
||||
}
|
||||
const clearEncryptedPasswordHandler = () => {
|
||||
setEncryptedPassword('')
|
||||
}
|
||||
return (
|
||||
<PageWrapperShadow rightImageSrc="./background-images/day-night-bg.png" rightImageLogo={true}>
|
||||
|
@ -65,6 +68,7 @@ const ConnectExistingInstance = () => {
|
|||
size={16}
|
||||
color="#A1ABBD"
|
||||
style={{ cursor: 'pointer' }}
|
||||
onClick={clearEncryptedPasswordHandler}
|
||||
/>
|
||||
}
|
||||
value={encryptedPassword}
|
||||
|
|
Loading…
Reference in New Issue