mirror of
https://github.com/Qortal/chrome-extension.git
synced 2025-02-12 02:05:49 +00:00
add onkeydown
This commit is contained in:
parent
818be7449f
commit
5e8a0ce212
@ -1063,9 +1063,14 @@ function App() {
|
|||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
setAuthenticatePassword(e.target.value)
|
setAuthenticatePassword(e.target.value)
|
||||||
}
|
}
|
||||||
|
onKeyDown={(e) => {
|
||||||
|
if (e.key === "Enter") {
|
||||||
|
authenticateWallet();
|
||||||
|
}
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
<Spacer height="20px" />
|
<Spacer height="20px" />
|
||||||
<CustomButton onClick={authenticateWallet}>
|
<CustomButton onClick={authenticateWallet} >
|
||||||
Authenticate
|
Authenticate
|
||||||
</CustomButton>
|
</CustomButton>
|
||||||
<Typography color="error">
|
<Typography color="error">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user