@ape.swap/bonds-sdk 1.0.590 → 1.0.591

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.
@@ -85,11 +85,11 @@ var YourBondsModal = function (_a) {
85
85
  var _u = useState(null), claimTx = _u[0], setClaimTx = _u[1];
86
86
  var _v = useState(null), toastMessage = _v[0], setToastMessage = _v[1];
87
87
  useEffect(function () {
88
- if (hash) {
89
- setToastMessage("Transaction complete: ".concat(hash));
88
+ if (claimTx) {
89
+ setToastMessage("Transaction complete: ".concat(claimTx));
90
90
  setTimeout(function () { return setToastMessage(null); }, 5000); // Hide toast after 5 seconds
91
91
  }
92
- }, [hash]);
92
+ }, [claimTx]);
93
93
  // Fetch data for user owned bill
94
94
  var _w = useState([]), bondData = _w[0], setBondData = _w[1];
95
95
  var _x = useState([]), userOwnedBillsData = _x[0], setUserOwnedBillsData = _x[1];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "1.0.590",
6
+ "version": "1.0.591",
7
7
  "main": "dist/index.js",
8
8
  "module": "dist/index.es.js",
9
9
  "types": "dist/index.d.ts",