feat: add customers list on the dashboard

This commit is contained in:
swve 2024-11-03 00:04:00 +01:00
parent 3988ee1d4b
commit 9f1d8c58d1
8 changed files with 361 additions and 7 deletions

View file

@ -9,6 +9,7 @@ import { useLHSession } from '@components/Contexts/LHSessionContext'
import { useOrg } from '@components/Contexts/OrgContext'
import PaymentsConfigurationPage from '@components/Dashboard/Payments/PaymentsConfigurationPage'
import PaymentsProductPage from '@components/Dashboard/Payments/PaymentsProductPage'
import PaymentsCustomersPage from '@components/Dashboard/Payments/PaymentsCustomersPage'
@ -101,7 +102,7 @@ function PaymentsPage({ params }: { params: PaymentsParams }) {
{selectedSubPage === 'general' && <div>General</div>}
{selectedSubPage === 'configuration' && <PaymentsConfigurationPage />}
{selectedSubPage === 'paid-products' && <PaymentsProductPage />}
{selectedSubPage === 'customers' && <div>Customers</div>}
{selectedSubPage === 'customers' && <PaymentsCustomersPage />}
</motion.div>
</div>
)