diff --git a/src/components/PersonDetails/index.tsx b/src/components/PersonDetails/index.tsx index 3b7d96ab8..a03affb3e 100644 --- a/src/components/PersonDetails/index.tsx +++ b/src/components/PersonDetails/index.tsx @@ -5,7 +5,6 @@ import type { PersonDetail } from '../../../server/models/Person'; import type { PersonCombinedCreditsResponse } from '../../../server/interfaces/api/personInterfaces'; import Error from '../../pages/_error'; import LoadingSpinner from '../Common/LoadingSpinner'; -import Slider from '../Slider'; import TitleCard from '../TitleCard'; import { defineMessages, useIntl } from 'react-intl'; import { LanguageContext } from '../../context/LanguageContext'; @@ -54,6 +53,8 @@ const PersonDetails: React.FC = () => { return 1; }); + const isLoading = !combinedCredits && !errorCombinedCredits; + return ( <>