diff --git a/src/components/Overlay/Transition.tsx b/src/components/Overlay/Transition.tsx index a071fca0..790ce69b 100644 --- a/src/components/Overlay/Transition.tsx +++ b/src/components/Overlay/Transition.tsx @@ -34,7 +34,11 @@ export const Transition: React.FC = props => { } }, [props.show]) - return mounted && ( + if (!mounted) { + return null + } + + return (