Skip to content

Commit

Permalink
fix: rule of hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Oct 14, 2020
1 parent 8aa5cfd commit 976717f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/blocks/src/Story/StoryRender.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const StoryRender: FC<StoryRenderProps & StoryWrapperProps> = forwardRef(
);
};
asyncFn();
}, []);
}, [options, ref, store.config, store.docs, story]);
return (
<Box
data-testid={NAME}
Expand Down

0 comments on commit 976717f

Please sign in to comment.