From 525f38fba32544d0707a021cac3e8a0272c052ba Mon Sep 17 00:00:00 2001 From: luciob Date: Fri, 20 Oct 2023 15:01:32 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20Updated=20stories?= =?UTF-8?q?=20decorators=20and=20their=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/stories.tsx b/src/utils/stories.tsx index 07b5819..9dd48b2 100644 --- a/src/utils/stories.tsx +++ b/src/utils/stories.tsx @@ -53,7 +53,7 @@ export const TaskDecorator: Decorator = (storyFn) => { }; // eslint-disable-next-line @typescript-eslint/no-explicit-any -const TasksLayerInternalDecorator = (storyFn: any) => { +const TasksLayerInternalDecorator = ({ storyFn }: any) => { const { setDrawRange } = useTimelineContext(); const stageWidth = useMemo(() => 60 * 24, []);