@ape.swap/bonds-sdk 3.0.17 → 3.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +2 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -71205,6 +71205,7 @@ const BondInfoTooltip = ({ earnTokenContract, earnTokenSymbol, bondContract, pro
|
|
|
71205
71205
|
const UserBondRow = ({ bill }) => {
|
|
71206
71206
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
71207
71207
|
const userChainId = useChainId();
|
|
71208
|
+
const { address: account } = useAccount();
|
|
71208
71209
|
const { switchChain } = useSwitchChain();
|
|
71209
71210
|
const { writeContractAsync } = useWriteContract();
|
|
71210
71211
|
const { addToastError } = usePopups();
|
|
@@ -71223,7 +71224,7 @@ const UserBondRow = ({ bill }) => {
|
|
|
71223
71224
|
functionName: 'redeem',
|
|
71224
71225
|
args: [billId],
|
|
71225
71226
|
chain: userChainId,
|
|
71226
|
-
account
|
|
71227
|
+
account,
|
|
71227
71228
|
});
|
|
71228
71229
|
setLoadingTx(false);
|
|
71229
71230
|
if (tx) {
|