첫 커밋
This commit is contained in:
20
src/pages/tax/tax-pages.tsx
Normal file
20
src/pages/tax/tax-pages.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Route } from 'react-router-dom';
|
||||
import { SentryRoutes } from '@/shared/configs/sentry';
|
||||
import { ROUTE_NAMES } from '@/shared/constants/route-names';
|
||||
import { InvoiceListPage } from './invoice/list-page';
|
||||
import { InvoiceDetailPage } from './invoice/detail-page';
|
||||
import { VatReferencePage } from './vat-reference/vat-reference-page';
|
||||
|
||||
export const TaxPages = () => {
|
||||
return (
|
||||
<>
|
||||
<SentryRoutes>
|
||||
<Route path={ROUTE_NAMES.tax.invoice.base}>
|
||||
<Route path={ROUTE_NAMES.tax.invoice.list} element={<InvoiceListPage />} />
|
||||
<Route path={ROUTE_NAMES.tax.invoice.detail} element={<InvoiceDetailPage />} />
|
||||
</Route>
|
||||
<Route path={ROUTE_NAMES.tax.vatReference} element={<VatReferencePage />} />
|
||||
</SentryRoutes>
|
||||
</>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user