Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Knerio committed Feb 17, 2024
1 parent b7bd04b commit a73a989
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/select/Select.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const Error: MenuStory = {
const {defaultValue, description, label, error} = args

return <>
<Select error={<Badge>{error ? error : ""}</Badge>} label={label} description={description} defaultValue={defaultValue}>
<Select error={<Badge>{error ?? ""}</Badge>} label={label} description={description} defaultValue={defaultValue}>
<Select.Option key={"Lorem ipsum 1"}>Lorem ipsum 1</Select.Option>
<Select.Option key={"Lorem ipsum 2"}>Lorem ipsum 2</Select.Option>
</Select>
Expand All @@ -86,7 +86,7 @@ export const Success: MenuStory = {
const {defaultValue, description, label, success} = args

return <>
<Select success={<Badge>{success ? success : ""}</Badge>} label={label} description={description} defaultValue={defaultValue}>
<Select success={<Badge>{success ?? ""}</Badge>} label={label} description={description} defaultValue={defaultValue}>
<Select.Option key={"Lorem ipsum 1"}>Lorem ipsum 1</Select.Option>
<Select.Option key={"Lorem ipsum 2"}>Lorem ipsum 2</Select.Option>
</Select>
Expand Down

0 comments on commit a73a989

Please sign in to comment.