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';
import { DetailPage } from './list/detail-page';

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