diff --git a/packages/manager/apps/container/src/components/AgreementsUpdateModal/AgreementsUpdateModal.component.tsx b/packages/manager/apps/container/src/components/AgreementsUpdateModal/AgreementsUpdateModal.component.tsx index b6fcb26e7fa5..2215c8d1728a 100644 --- a/packages/manager/apps/container/src/components/AgreementsUpdateModal/AgreementsUpdateModal.component.tsx +++ b/packages/manager/apps/container/src/components/AgreementsUpdateModal/AgreementsUpdateModal.component.tsx @@ -26,7 +26,7 @@ export default function AgreementsUpdateModal () { const { t } = useTranslation('agreements-update-modal'); const { data: urn } = useAccountUrn({ enabled: region !== 'US' && current === ModalTypes.agreements && window.location.href !== myContractsLink }); const { isAuthorized: canUserAcceptAgreements } = useAuthorizationIam(['account:apiovh:me/agreements/accept'], urn); - const { data: agreements, isLoading } = useAgreementsUpdate({ enabled: canUserAcceptAgreements }); + const { data: agreements } = useAgreementsUpdate({ enabled: canUserAcceptAgreements }); const goToContractPage = () => { navigation.navigateTo('dedicated', `#/billing/autoRenew/agreements`); }; diff --git a/packages/manager/apps/container/src/container/index.tsx b/packages/manager/apps/container/src/container/index.tsx index bcbdf9c2ba30..2ac8148d14e3 100644 --- a/packages/manager/apps/container/src/container/index.tsx +++ b/packages/manager/apps/container/src/container/index.tsx @@ -25,7 +25,6 @@ export default function Container(): JSX.Element { chatbotReduced, setChatbotReduced, } = useContainer(); - useModals(); const shell = useShell(); const [isCookiePolicyApplied, setIsCookiePolicyApplied] = useState(false); const environment: Environment = shell