mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-02-05 08:43:29 +00:00
Disable generate button if key is already present
This commit is contained in:
parent
d6d548a09e
commit
bd0ad81d17
@ -153,7 +153,7 @@ function App() {
|
||||
variant="contained"
|
||||
color="primary"
|
||||
onClick={generateKeyPair}
|
||||
disabled={!provider}
|
||||
disabled={!provider || !!ethDmKeyPair}
|
||||
>
|
||||
Generate Eth-DM Key Pair
|
||||
</Button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user