mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-21 08:49:41 +00:00
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…
x
Reference in New Issue
Block a user