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

export const SettlementPages = () => {
  return (
    <>
      <SentryRoutes>
        <Route path={ROUTE_NAMES.settlement.calendar} element={<CalendarPage />} />
        <Route path={ROUTE_NAMES.settlement.list} element={<ListPage />} />
      </SentryRoutes>
    </>
  );
};
