diff --git a/ui/blocks/src/Story/StoryRender.tsx b/ui/blocks/src/Story/StoryRender.tsx index f7f3c0e50..a30b4aad6 100644 --- a/ui/blocks/src/Story/StoryRender.tsx +++ b/ui/blocks/src/Story/StoryRender.tsx @@ -35,7 +35,7 @@ const IframeWrapper: FC = ({ `, }) => { const [size, setSize] = useState< - { height: number; width: number } | undefined + { height?: number; width?: number } | undefined >(); return (