diff --git a/src/frontend/apps/impress/src/components/modal/SideModal.tsx b/src/frontend/apps/impress/src/components/modal/SideModal.tsx index 9e6047c12..93ca9e18a 100644 --- a/src/frontend/apps/impress/src/components/modal/SideModal.tsx +++ b/src/frontend/apps/impress/src/components/modal/SideModal.tsx @@ -1,5 +1,9 @@ -import { Modal, ModalSize } from '@gouvfr-lasuite/cunningham-react'; -import { ComponentPropsWithRef, PropsWithChildren } from 'react'; +import { + Modal, + ModalDefaultVariantProps, + ModalSize, +} from '@gouvfr-lasuite/cunningham-react'; +import { PropsWithChildren } from 'react'; import { createGlobalStyle } from 'styled-components'; interface SideModalStyleProps { @@ -35,7 +39,7 @@ const SideModalStyle = createGlobalStyle` } `; -type SideModalType = Omit, 'size'>; +type SideModalType = Omit; type SideModalProps = SideModalType & Partial;