bridge_ui: fix callback deps

Change-Id: I05082fb818f23b099394e5fc636ffb85381a2e8e
This commit is contained in:
Evan Gray 2021-08-11 10:00:12 -04:00 committed by Evan Gray
parent e59a36663a
commit 32994a66e3
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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