diff --git a/site/source/components/PlaceDesEntreprises.tsx b/site/source/components/PlaceDesEntreprises.tsx index 03d0e44ba..bc3fdcf6c 100644 --- a/site/source/components/PlaceDesEntreprises.tsx +++ b/site/source/components/PlaceDesEntreprises.tsx @@ -1,52 +1,17 @@ -import { lazy, ReactEventHandler, Suspense, useEffect, useRef } from 'react' -import styled from 'styled-components' -import Emoji from './utils/Emoji' -import { iframeResize } from 'iframe-resizer' import { PopoverWithTrigger } from '@/design-system' import { Button } from '@/design-system/buttons' import { Loader } from '@/design-system/icons/Loader' import { Body } from '@/design-system/typography/paragraphs' -import { Trans, useTranslation } from 'react-i18next' import { isProduction } from '@/utils' - -const Iframe = styled.iframe` - width: 1px; - min-width: 100%; - height: 80vh; -` - -const IframeContainer = styled.div` - margin: 0 -3rem; -` - -export const PlacesDesEntreprisesIframe = ({ - src, - onLoad, -}: { - src: string - onLoad?: ReactEventHandler -}) => { - useEffect(() => { - iframeResize({}, '#pdeIframe') - }, []) - - return ( - -