diff --git a/packages/esm-care-panel-app/src/care-panel/care-panel.component.tsx b/packages/esm-care-panel-app/src/care-panel/care-panel.component.tsx index 0228f85d6..051a6b8e4 100644 --- a/packages/esm-care-panel-app/src/care-panel/care-panel.component.tsx +++ b/packages/esm-care-panel-app/src/care-panel/care-panel.component.tsx @@ -1,6 +1,6 @@ -import React, { useEffect, useMemo, useState } from 'react'; +import React, { useMemo, useState } from 'react'; import { useTranslation } from 'react-i18next'; -import { StructuredListSkeleton, ContentSwitcher, Switch, InlineLoading } from '@carbon/react'; +import { StructuredListSkeleton, ContentSwitcher, Switch } from '@carbon/react'; import styles from './care-panel.scss'; import { useEnrollmentHistory } from '../hooks/useEnrollmentHistory'; import ProgramSummary from '../program-summary/program-summary.component'; @@ -35,7 +35,11 @@ const CarePanel: React.FC = ({ patientUuid, formEntrySub, launch ); if (isLoading) { - return ; + return ( +
+ +
+ ); } if (error) {