From 12e6de8454c2d1d1dab9a63af01ca2425b9903d0 Mon Sep 17 00:00:00 2001 From: Thomas Vogt Date: Thu, 28 Oct 2021 20:39:52 +0200 Subject: [PATCH] Fix ci --- web/src/gamesShared/components/cards/Card.stories.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/gamesShared/components/cards/Card.stories.tsx b/web/src/gamesShared/components/cards/Card.stories.tsx index 35045236a..dcbe2dbed 100644 --- a/web/src/gamesShared/components/cards/Card.stories.tsx +++ b/web/src/gamesShared/components/cards/Card.stories.tsx @@ -10,7 +10,7 @@ export default { control: { type: 'select' }, }, color: { - options: Object.keys(CardColor).filter(isNaN), + options: Object.keys(CardColor).filter((c) => isNaN(+c)), mapping: CardColor, control: { type: 'select' }, }, @@ -30,8 +30,8 @@ export default { }, }, }; -const Template = ({ color, value, ...rest }) => { - return ; +const Template = ({ color, value, pattern, ...rest }) => { + return ; }; export const Selectable = Template.bind({}); Selectable.args = {