From 976717f52a39b82d6e4c33c0cb6d4edf7836661a Mon Sep 17 00:00:00 2001 From: atanasster Date: Tue, 13 Oct 2020 21:31:35 -0400 Subject: [PATCH] fix: rule of hooks --- 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 bc1016a49..2657c11d6 100644 --- a/ui/blocks/src/Story/StoryRender.tsx +++ b/ui/blocks/src/Story/StoryRender.tsx @@ -106,7 +106,7 @@ export const StoryRender: FC = forwardRef( ); }; asyncFn(); - }, []); + }, [options, ref, store.config, store.docs, story]); return (