@appcorp/stellar-solutions-invoice-module 0.1.33 → 0.1.34
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.
|
@@ -354,6 +354,7 @@ var useInvoiceState = function () {
|
|
|
354
354
|
body: JSON.stringify({ id: id }),
|
|
355
355
|
});
|
|
356
356
|
};
|
|
357
|
+
console.log('state', state);
|
|
357
358
|
var handleSubmit = (0, react_1.useCallback)(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
358
359
|
var validationResult, validationErrors_1;
|
|
359
360
|
return __generator(this, function (_a) {
|
|
@@ -361,6 +362,7 @@ var useInvoiceState = function () {
|
|
|
361
362
|
type: actions_1.INVOICE_ACTION_TYPES.SET_DISABLE_SAVE_BUTTON,
|
|
362
363
|
payload: { disableSaveButton: true },
|
|
363
364
|
});
|
|
365
|
+
console.log('submit', updatedParams);
|
|
364
366
|
try {
|
|
365
367
|
validationResult = validate_1.formValidation === null || validate_1.formValidation === void 0 ? void 0 : validate_1.formValidation.safeParse(__assign({}, updatedParams));
|
|
366
368
|
if (validationResult === null || validationResult === void 0 ? void 0 : validationResult.error) {
|