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 <[email protected]>
Signed-off-by: Sergey Myssak <[email protected]>
  • Loading branch information
SergeyMyssak and andreymyssak committed Jul 1, 2023
1 parent 93c9e26 commit bbc7af0
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 bbc7af0

Please sign in to comment.