From e6698c529a99b525e7ac1d068a6d3cb06f572164 Mon Sep 17 00:00:00 2001 From: Tom Coleman Date: Wed, 8 Sep 2021 14:38:52 +1000 Subject: [PATCH] Fix argtypes stories --- addons/docs/src/frameworks/react/react-argtypes.stories.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/docs/src/frameworks/react/react-argtypes.stories.tsx b/addons/docs/src/frameworks/react/react-argtypes.stories.tsx index 4006962f1fe..8c576433113 100644 --- a/addons/docs/src/frameworks/react/react-argtypes.stories.tsx +++ b/addons/docs/src/frameworks/react/react-argtypes.stories.tsx @@ -10,8 +10,8 @@ import { Component } from '../../blocks'; const argsTableProps = (component: Component) => { const argTypes = extractArgTypes(component); - const parameters = { __isArgsStory: true, argTypes }; - const rows = inferControls(({ parameters } as unknown) as StoryContext); + const parameters = { __isArgsStory: true }; + const rows = inferControls(({ argTypes, parameters } as unknown) as StoryContext); return { rows }; };