mirror of
https://github.com/status-im/js-waku-examples.git
synced 2025-01-11 22:44:32 +00:00
feat(rln-js): do not block script on wasm download
This commit is contained in:
parent
4cc74c74d1
commit
fd2a823b1b
@ -63,8 +63,11 @@
|
||||
const keyDiv = document.getElementById('key');
|
||||
const commitmentDiv = document.getElementById('commitment');
|
||||
|
||||
const rlnInstance = await create();
|
||||
generateCredsButton.disabled = false;
|
||||
let rlnInstance;
|
||||
(async () => {
|
||||
rlnInstance = await create()
|
||||
generateCredsButton.disabled = false;
|
||||
})();
|
||||
|
||||
let membership;
|
||||
generateCredsButton.onclick = () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user