mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-08-01 18:23:31 +00:00
add onkeydown
This commit is contained in:
@@ -1063,6 +1063,11 @@ function App() {
|
||||
onChange={(e) =>
|
||||
setAuthenticatePassword(e.target.value)
|
||||
}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter") {
|
||||
authenticateWallet();
|
||||
}
|
||||
}}
|
||||
/>
|
||||
<Spacer height="20px" />
|
||||
<CustomButton onClick={authenticateWallet} >
|
||||
|
Reference in New Issue
Block a user