diff --git a/src/common/components/modals/GoodModal.tsx b/src/common/components/modals/GoodModal.tsx index 189a70766..f61bfb76b 100644 --- a/src/common/components/modals/GoodModal.tsx +++ b/src/common/components/modals/GoodModal.tsx @@ -27,7 +27,7 @@ export function GoodModal(props: { animateEnter?: boolean, unfilterBackdrop?: boolean, // this should be left to the theme, but we're gonna use it for the models open: boolean, - onClose?: () => void, + onClose?: ((event: React.BaseSyntheticEvent, reason: 'backdropClick' | 'escapeKeyDown' | 'closeClick') => void) | undefined, hideBottomClose?: boolean, darkBottomClose?: boolean, startButton?: React.JSX.Element, @@ -100,7 +100,7 @@ export function GoodModal(props: { justifyContent: 'space-between', }}> {props.startButton} - {showBottomClose && } }