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 { ReferencePage } from './reference-page';

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