Skip to content

Commit

Permalink
Revert Manager-14722 (#14905)
Browse files Browse the repository at this point in the history
This reverts commit d4a48cb.

This reverts commit 0977501.
  • Loading branch information
JacquesLarique committed Jan 15, 2025
1 parent fd66de4 commit ecdcf8b
Show file tree
Hide file tree
Showing 35 changed files with 46 additions and 585 deletions.
2 changes: 1 addition & 1 deletion packages/manager/apps/container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@emotion/styled": "^11.10.0",
"@ovh-ux/manager-config": "^8.0.2",
"@ovh-ux/manager-core-api": "^0.9.0",
"@ovh-ux/manager-react-components": "^1.43.0",
"@ovh-ux/manager-react-components": "^1.41.1",
"@ovh-ux/manager-react-shell-client": "^0.8.5",
"@ovh-ux/manager-vite-config": "^0.9.0",
"@ovh-ux/ovh-payment-method": "^0.5.1",
Expand Down
11 changes: 0 additions & 11 deletions packages/manager/apps/container/src/api/agreements.ts

This file was deleted.

18 changes: 0 additions & 18 deletions packages/manager/apps/container/src/api/authorizations.ts

This file was deleted.

This file was deleted.

This file was deleted.

26 changes: 10 additions & 16 deletions packages/manager/apps/container/src/container/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ import SSOAuthModal from '@/sso-auth-modal/SSOAuthModal';
import PaymentModal from '@/payment-modal/PaymentModal';
import LiveChat from '@/components/LiveChat';
import { IdentityDocumentsModal } from '@/identity-documents-modal/IdentityDocumentsModal';
import AgreementsUpdateModal from '@/components/AgreementsUpdateModal/AgreementsUpdateModal.component';
import useModals from '@/context/modals/useModals';
import { ModalsProvider } from '@/context/modals';

export default function Container(): JSX.Element {
const {
Expand Down Expand Up @@ -84,19 +81,16 @@ export default function Container(): JSX.Element {
<Suspense fallback="">
<SSOAuthModal />
</Suspense>
{isCookiePolicyApplied && (
<ModalsProvider>
<Suspense fallback="">
<AgreementsUpdateModal />
</Suspense>
<Suspense fallback="">
<PaymentModal />
</Suspense>
<Suspense fallback="">
<IdentityDocumentsModal />
</Suspense>
</ModalsProvider>
)}
{isCookiePolicyApplied &&
<Suspense fallback="">
<PaymentModal />
</Suspense>
}
{isCookiePolicyApplied &&
<Suspense fallback="">
<IdentityDocumentsModal />
</Suspense>
}
<Suspense fallback="...">
<CookiePolicy shell={shell} onValidate={cookiePolicyHandler} />
</Suspense>
Expand Down

This file was deleted.

3 changes: 0 additions & 3 deletions packages/manager/apps/container/src/context/modals/index.ts

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit ecdcf8b

Please sign in to comment.