@appcorp/stellar-solutions-invoice-module 0.1.71 → 0.1.72
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.
|
@@ -253,6 +253,7 @@ var usePaymentState = function () {
|
|
|
253
253
|
}, [debouncedQuery, state.currentPage, state.pageLimit]);
|
|
254
254
|
(0, react_1.useEffect)(function () {
|
|
255
255
|
var invoiceId = (0, util_functions_1.getStorageValue)("paymentInvoiceId");
|
|
256
|
+
console.log("_>>>", invoiceId);
|
|
256
257
|
if (invoiceId) {
|
|
257
258
|
var invoice = invoices.filter(function (_a) {
|
|
258
259
|
var id = _a.id;
|
|
@@ -284,7 +285,6 @@ var usePaymentState = function () {
|
|
|
284
285
|
payload: { drawer: types_1.PAYMENT_DRAWER.PAYMENT_FORM_DRAWER },
|
|
285
286
|
});
|
|
286
287
|
}
|
|
287
|
-
(0, util_functions_1.removeStorageValue)("paymentInvoiceId");
|
|
288
288
|
}
|
|
289
289
|
}, [invoices]);
|
|
290
290
|
// ---------------------------------------------------------------------------
|
|
@@ -341,6 +341,7 @@ var usePaymentState = function () {
|
|
|
341
341
|
});
|
|
342
342
|
},
|
|
343
343
|
});
|
|
344
|
+
(0, util_functions_1.removeStorageValue)("paymentInvoiceId");
|
|
344
345
|
}, [updateFetchNow, updateParams, dispatch]);
|
|
345
346
|
// ---------------------------------------------------------------------------
|
|
346
347
|
// FORM HANDLERS
|
package/package.json
CHANGED