From 84e98aa62684dfbf5be9b79b7c4f8b952e6aedda Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Sun, 28 Dec 2025 02:10:47 +0000 Subject: [PATCH] Add Payments Routes to Finance Module - Introduced new routes for Payments and PaymentInfo components in the Finance module. - Enhanced lazy loading for improved performance and user experience in the finance dashboard. --- src/routes/FinanceRoutes.jsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/routes/FinanceRoutes.jsx b/src/routes/FinanceRoutes.jsx index 35f975a..2b6f07f 100644 --- a/src/routes/FinanceRoutes.jsx +++ b/src/routes/FinanceRoutes.jsx @@ -7,6 +7,12 @@ const Invoices = lazy( const InvoiceInfo = lazy( () => import('../components/Dashboard/Finance/Invoices/InvoiceInfo.jsx') ) +const Payments = lazy( + () => import('../components/Dashboard/Finance/Payments.jsx') +) +const PaymentInfo = lazy( + () => import('../components/Dashboard/Finance/Payments/PaymentInfo.jsx') +) const FinanceOverview = lazy( () => import('../components/Dashboard/Finance/FinanceOverview.jsx') ) @@ -22,6 +28,12 @@ const FinanceRoutes = [ key='invoices-info' path='finance/invoices/info' element={} + />, + } />, + } /> ]