@ape.swap/bonds-sdk 1.0.98 → 1.0.99
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.
|
@@ -138,6 +138,12 @@ var Bonds = function (_a) {
|
|
|
138
138
|
});
|
|
139
139
|
var _f = useState(false), isModalOpen = _f[0], setIsModalOpen = _f[1];
|
|
140
140
|
var _g = useState(null), selectedBond = _g[0], setSelectedBond = _g[1];
|
|
141
|
+
// const rowClick = (bond: BondsDataResponse) => {
|
|
142
|
+
// const url = `${window.location.origin}?bondAddress=${bond.billAddress}&bondChain=${bond.chainId}`;
|
|
143
|
+
// window.location.href = url;
|
|
144
|
+
// // setSelectedBond(bond);
|
|
145
|
+
// // setIsModalOpen(true);
|
|
146
|
+
// };
|
|
141
147
|
var rowClick = function (bond) {
|
|
142
148
|
setSelectedBond(bond);
|
|
143
149
|
setIsModalOpen(true);
|