diff --git a/frontend/src/pages/Forecasts.tsx b/frontend/src/pages/Forecasts.tsx index e482a42..4f38de0 100644 --- a/frontend/src/pages/Forecasts.tsx +++ b/frontend/src/pages/Forecasts.tsx @@ -273,9 +273,9 @@ interface PickupV2Response { } const Forecasts: React.FC = () => { - const { forecastId } = useParams<{ forecastId?: string }>() + const { page } = useParams<{ page?: string }>() const navigate = useNavigate() - const activePage = (forecastId as ForecastPage) || 'hotel_rev_day' + const activePage = (page as ForecastPage) || 'hotel_rev_day' const revenueItems: { id: ForecastPage; label: string }[] = [ { id: 'accom', label: 'Accommodation' },