Commit d9993888 authored by aballerr's avatar aballerr Committed by GitHub

fix: transaction not waiting (#5405)

fixing transaction not waiting
parent 82c76574
...@@ -234,6 +234,8 @@ const AirdropModal = () => { ...@@ -234,6 +234,8 @@ const AirdropModal = () => {
.connect(provider?.getSigner()) .connect(provider?.getSigner())
.functions.claim(claim.index, account, claim?.amount, claim?.merkleProof) .functions.claim(claim.index, account, claim?.amount, claim?.merkleProof)
await response.wait()
setHash(response.hash) setHash(response.hash)
setIsSubmitting(false) setIsSubmitting(false)
setIsClaimed(true) setIsClaimed(true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment