import { Route } from 'react-router-dom';
import { SentryRoutes } from '@/shared/configs/sentry';
import { ROUTE_NAMES } from '@/shared/constants/route-names';
import { ListPage } from './list-page';
import { DetailPage } from './detail-page';
import { ReferencePage } from './reference-page';

export const VatReturnPages = () => {
  return (
    <>
      <SentryRoutes>
        <Route path={ROUTE_NAMES.vatReturn.list} element={<ListPage />} />
        <Route path={ROUTE_NAMES.vatReturn.detail} element={<DetailPage />} />
        <Route path={ROUTE_NAMES.vatReturn.reference} element={<ReferencePage />} />
      </SentryRoutes>
    </>
  );
};
