From b3bd0a7b130ee7ea836e1ebcc1d88c34e4461e35 Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Fri, 26 May 2023 14:45:21 +0700
Subject: fixing error klik invoices

---
 src/lib/transaction/components/Transaction.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/lib/transaction/components/Transaction.jsx')

diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx
index 687b3f4b..dca85f0c 100644
--- a/src/lib/transaction/components/Transaction.jsx
+++ b/src/lib/transaction/components/Transaction.jsx
@@ -209,7 +209,7 @@ const Transaction = ({ id }) => {
             <p className='font-medium'>Invoice</p>
             <div className='flex flex-col gap-y-3 mt-4'>
               {transaction.data?.invoices?.map((invoice, index) => (
-                <Link href={`/my/invoice/${invoice.id}`} key={index}>
+                <Link href={`/my/invoices/${invoice.id}`} key={index}>
                   <div className='shadow rounded-md p-4 text-gray_r-12 font-normal flex justify-between'>
                     <div>
                       <p className='mb-2'>{invoice?.name}</p>
@@ -416,7 +416,7 @@ const Transaction = ({ id }) => {
               <div className='text-h-sm font-semibold mt-6 mb-4'>Invoice</div>
               <div className='grid grid-cols-4 gap-4'>
                 {transaction.data?.invoices?.map((invoice, index) => (
-                  <Link href={`/my/invoice/${invoice.id}`} key={index}>
+                  <Link href={`/my/invoices/${invoice.id}`} key={index}>
                     <div className='shadow rounded-md p-4 text-gray_r-12 font-normal flex justify-between'>
                       <div>
                         <p className='mb-2'>{invoice?.name}</p>
-- 
cgit v1.2.3

