Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Vogt committed Oct 28, 2021
1 parent 60dcc3b commit 12e6de8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/gamesShared/components/cards/Card.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
},
Expand All @@ -30,8 +30,8 @@ export default {
},
},
};
const Template = ({ color, value, ...rest }) => {
return <Card type={{ color: color, value: value }} {...rest} />;
const Template = ({ color, value, pattern, ...rest }) => {
return <Card pattern={pattern} type={{ color: color, value: value }} {...rest} />;
};
export const Selectable = Template.bind({});
Selectable.args = {
Expand Down

0 comments on commit 12e6de8

Please sign in to comment.