Skip to content

Commit

Permalink
Remove extra Fragment tags (#3967)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: Sergey Myssak <sergey.myssak@gmail.com>
  • Loading branch information
SergeyMyssak and andreymyssak committed Jun 14, 2023
1 parent 41111e5 commit bd16bea
Showing 1 changed file with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -917,18 +917,10 @@ export class Flyout extends Component<FlyoutProps, FlyoutState> {

return (
<Fragment>
{legacyFileWarning && (
<>
<EuiSpacer size="s" />
{legacyFileWarning}
</>
)}
{indexPatternConflictsWarning && (
<>
<EuiSpacer size="s" />
{indexPatternConflictsWarning}
</>
)}
{legacyFileWarning && <EuiSpacer size="s" />}
{legacyFileWarning}
{indexPatternConflictsWarning && <EuiSpacer size="s" />}
{indexPatternConflictsWarning}
</Fragment>
);
}
Expand Down

0 comments on commit bd16bea

Please sign in to comment.