Skip to content

Commit

Permalink
[misc cleanup] remove Fragment
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Nov 14, 2023
1 parent 07a4091 commit 24fafa5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/form/super_select/super_select_control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import React, {
Fragment,
FunctionComponent,
ButtonHTMLAttributes,
ReactNode,
Expand Down Expand Up @@ -129,7 +128,7 @@ export const EuiSuperSelectControl: <T extends string>(
const showPlaceholder = !!placeholder && !selectedValue;

return (
<Fragment>
<>
<input
type="hidden"
id={id}
Expand Down Expand Up @@ -167,6 +166,6 @@ export const EuiSuperSelectControl: <T extends string>(
)}
</button>
</EuiFormControlLayout>
</Fragment>
</>
);
};

0 comments on commit 24fafa5

Please sign in to comment.