Skip to content

Commit

Permalink
Changed manage reservations page to be lazy loaded (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanttuA authored Sep 19, 2023
1 parent f6c03be commit 19ba9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import NotFoundPage from '../app/pages/not-found';
import LoginCallback from '../app/pages/auth/LoginCallback';
import LogoutCallback from '../app/pages/auth/LogoutCallback';
import ReservationPaymentReturnPage from '../app/pages/reservation/payment/ReservationPaymentReturnPage';
import ManageReservationsPage from '../app/pages/manage-reservations/ManageReservationsPage';

// import non-landing pages dynamically
const SearchPage = lazy(() => import('../app/pages/search'));
Expand All @@ -20,6 +19,7 @@ const AdminResourcesPage = lazy(() => import('../app/pages/admin-resources'));
const FavoritesPage = lazy(() => import('../app/pages/favorites/favoritesPage'));
const UserReservationsPage = lazy(() => import('../app/pages/user-reservations'));
const ReservationPage = lazy(() => import('../app/pages/reservation'));
const ManageReservationsPage = lazy(() => import('../app/pages/manage-reservations/ManageReservationsPage'));


export default () => (
Expand Down

0 comments on commit 19ba9cc

Please sign in to comment.