feat(rln-js): disable button until wasm blob is downloaded.
This commit is contained in:
parent
4d16cfbd5f
commit
cc86b18230
|
@ -63,7 +63,9 @@
|
|||
const keyDiv = document.getElementById('key');
|
||||
const commitmentDiv = document.getElementById('commitment');
|
||||
|
||||
generateCredsButton.disabled = true;
|
||||
const rlnInstance = await create();
|
||||
generateCredsButton.disabled = false;
|
||||
|
||||
let membership;
|
||||
generateCredsButton.onclick = () => {
|
||||
|
|
Loading…
Reference in New Issue