From 5b48e16031b5db94727f8807386556fb4a5827cf Mon Sep 17 00:00:00 2001 From: elforjani3 Date: Thu, 31 Dec 2020 14:51:50 +0200 Subject: [PATCH] fix: edit payment Receive path --- .../src/containers/Sales/PaymentReceive/PaymentReceiveList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/containers/Sales/PaymentReceive/PaymentReceiveList.js b/client/src/containers/Sales/PaymentReceive/PaymentReceiveList.js index 8b3d36a88..8161a7db0 100644 --- a/client/src/containers/Sales/PaymentReceive/PaymentReceiveList.js +++ b/client/src/containers/Sales/PaymentReceive/PaymentReceiveList.js @@ -87,7 +87,7 @@ function PaymentReceiveList({ }, [deletePaymentReceive, requestDeletePaymentReceive, formatMessage]); const handleEditPaymentReceive = useCallback((payment) => { - history.push(`/payment-receive/${payment.id}/edit`); + history.push(`/payment-receives/${payment.id}/edit`); }); // Calculates the selected rows count.