From 40f05142354ca60394476ee522fbe541dafe3cf8 Mon Sep 17 00:00:00 2001 From: Daniel Bisgrove Date: Mon, 16 Dec 2024 15:03:38 -0500 Subject: [PATCH] fixup! Create bare bones of the MPD Health Indicator report page --- .../[accountListId]/reports/healthIndicator/index.page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/accountLists/[accountListId]/reports/healthIndicator/index.page.tsx b/pages/accountLists/[accountListId]/reports/healthIndicator/index.page.tsx index 527b1b159..a05948a4d 100644 --- a/pages/accountLists/[accountListId]/reports/healthIndicator/index.page.tsx +++ b/pages/accountLists/[accountListId]/reports/healthIndicator/index.page.tsx @@ -2,7 +2,7 @@ import Head from 'next/head'; import React, { useState } from 'react'; import { Box } from '@mui/material'; import { useTranslation } from 'react-i18next'; -import { loadSession } from 'pages/api/utils/pagePropsHelpers'; +import { ensureSessionAndAccountList } from 'pages/api/utils/pagePropsHelpers'; import { SidePanelsLayout } from 'src/components/Layouts/SidePanelsLayout'; import Loading from 'src/components/Loading'; import { HealthIndicatorReport } from 'src/components/Reports/HealthIndicatorReport/HealthIndicatorReport'; @@ -61,6 +61,6 @@ const HealthIndicatorPage: React.FC = () => { ); }; -export const getServerSideProps = loadSession; +export const getServerSideProps = ensureSessionAndAccountList; export default HealthIndicatorPage;