diff --git a/.changeset/cold-kiwis-arrive.md b/.changeset/cold-kiwis-arrive.md new file mode 100644 index 000000000..af1da9a2c --- /dev/null +++ b/.changeset/cold-kiwis-arrive.md @@ -0,0 +1,5 @@ +--- +'create-astro': patch +--- + +Bugfix: select component missing space diff --git a/packages/create-astro/src/components/Select.tsx b/packages/create-astro/src/components/Select.tsx index 08d588f4f..c31cad75d 100644 --- a/packages/create-astro/src/components/Select.tsx +++ b/packages/create-astro/src/components/Select.tsx @@ -9,7 +9,7 @@ interface Props { label: string; description?: string; } -const Indicator: FC = ({ isSelected }) => (isSelected ? [ : ); +const Indicator: FC = ({ isSelected }) => (isSelected ? [ : {' '}); const Item: FC = ({ isSelected = false, label, description }) => (