From 4c559d3c378178d64ce1ae64c3c6afa17fb5940e Mon Sep 17 00:00:00 2001 From: atanasster Date: Tue, 18 May 2021 11:49:58 +0300 Subject: [PATCH] fix: react frame types --- ui/blocks/src/Story/StoryRender.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (