diff --git a/src/app/features/shared/components/pages/HomePage.tsx b/src/app/features/shared/components/pages/HomePage.tsx index 3f022b337..f4d6b4205 100644 --- a/src/app/features/shared/components/pages/HomePage.tsx +++ b/src/app/features/shared/components/pages/HomePage.tsx @@ -1,6 +1,7 @@ import React, { useEffect } from "react" import { useItineraries } from "app/state/rest" import { useRedirectToCorrectItineraryPage } from "app/features/itineraries/utils/useRedirectToCorrectItineraryPage" +import CenteredSpinner from "app/features/shared/components/atoms/CenteredSpinner/CenteredSpinner" const HomePage: React.FC = () => { const { data } = useItineraries() @@ -10,7 +11,7 @@ const HomePage: React.FC = () => { redirectToCorrectItineraryPage(data?.itineraries) }, [data, redirectToCorrectItineraryPage]) - return null + return } export default HomePage