mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix promise usage?
This commit is contained in:
parent
ae6fa76241
commit
6b3ffc9e5d
@ -1,5 +1,7 @@
|
|||||||
function wait() {
|
function wait() {
|
||||||
return new Promise(function(resolve, reject) {
|
return new Promise(function(resolve, reject) {
|
||||||
setTimeout(resolve, 500)
|
setTimeout(function() {
|
||||||
|
resolve()
|
||||||
|
}, 500)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user