From b652da4b67737482cba95c4b0a8b121e9d818e71 Mon Sep 17 00:00:00 2001 From: Drew Powers <1369770+drwpow@users.noreply.github.com> Date: Thu, 27 May 2021 17:50:58 -0600 Subject: [PATCH] Bugfix: CLI selected item spacing (#259) --- .changeset/cold-kiwis-arrive.md | 5 +++++ packages/create-astro/src/components/Select.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/cold-kiwis-arrive.md 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 }) => (