mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-22 20:26:50 +00:00
add onkeydown
This commit is contained in:
@@ -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">
|
||||
|
Reference in New Issue
Block a user