fix: Minor fixes to new collection sharing UI (behind flag)

This commit is contained in:
Tom Moor
2024-05-16 20:55:09 -04:00
parent cae013837b
commit 3d87a03ca6
7 changed files with 35 additions and 15 deletions

View File

@@ -250,7 +250,7 @@ const InputSelect = (props: Props, ref: React.RefObject<InputSelectRef>) => {
const isSelected = select.selectedValue === opt.value;
const Icon = isSelected ? CheckmarkIcon : Spacer;
return (
<>
<React.Fragment key={opt.value}>
{opt.divider && <Separator />}
<StyledSelectOption
{...select}
@@ -262,7 +262,7 @@ const InputSelect = (props: Props, ref: React.RefObject<InputSelectRef>) => {
&nbsp;
{labelForOption(opt)}
</StyledSelectOption>
</>
</React.Fragment>
);
})
: null}