@ape.swap/bonds-sdk 3.0.70 → 3.0.71
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 +0 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -79389,9 +79389,6 @@ const BuyAction = ({ launchBond, inputValue, selectedCurrency, soldout, }) => {
|
|
|
79389
79389
|
const { addToastError } = usePopups();
|
|
79390
79390
|
// Buy confirm modal
|
|
79391
79391
|
const [onOpenPurchaseModal] = useModal(jsx$2(ParticipationSuccessful, { launchBond: launchBond, inputAmount: inputValue }), true, true, `confirm buy modal`);
|
|
79392
|
-
useEffect(() => {
|
|
79393
|
-
onOpenPurchaseModal();
|
|
79394
|
-
}, []);
|
|
79395
79392
|
// Approve logic
|
|
79396
79393
|
const [approvalState, approveCallback] = useApproval(inputValue, selectedCurrency, launchBond === null || launchBond === void 0 ? void 0 : launchBond.contractAddress, account, chainId);
|
|
79397
79394
|
const handleApprove = () => {
|