From 978fb81317841b6cd5e784bc0d3b6a0b18f58fa7 Mon Sep 17 00:00:00 2001 From: Van Anderson Date: Tue, 4 May 2021 13:00:40 -0500 Subject: [PATCH] make string type explicit --- src/stories/ActionMenu.stories.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stories/ActionMenu.stories.tsx b/src/stories/ActionMenu.stories.tsx index 0ed9ffce707..3b4ef5e5aa9 100644 --- a/src/stories/ActionMenu.stories.tsx +++ b/src/stories/ActionMenu.stories.tsx @@ -118,7 +118,7 @@ export function ExternalOpenState(): JSX.Element { const [option, setOption] = useState('Select an option') const [open, setOpen] = useState(false) const onAction = (itemProps: ItemProps) => { - setOption(itemProps.text) + setOption(itemProps.text as string) } return ( <>