bridge_ui: fix callback deps
Change-Id: I05082fb818f23b099394e5fc636ffb85381a2e8e
This commit is contained in:
parent
e59a36663a
commit
32994a66e3
|
@ -51,7 +51,7 @@ function Create() {
|
|||
createWrappedOnEth(provider, signer, signedVAA);
|
||||
})();
|
||||
}
|
||||
}, [dispatch, targetChain, wallet, solPK, signedVAA]);
|
||||
}, [dispatch, targetChain, wallet, solPK, signedVAA, provider, signer]);
|
||||
return (
|
||||
<div style={{ position: "relative" }}>
|
||||
<Button
|
||||
|
|
|
@ -46,7 +46,7 @@ function Redeem() {
|
|||
dispatch(setIsRedeeming(true));
|
||||
redeemOnSolana(wallet, solPK?.toString(), signedVAA);
|
||||
}
|
||||
}, [dispatch, targetChain, provider, signer, signedVAA]);
|
||||
}, [dispatch, targetChain, provider, signer, signedVAA, wallet, solPK]);
|
||||
return (
|
||||
<div style={{ position: "relative" }}>
|
||||
<Button
|
||||
|
|
Loading…
Reference in New Issue