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