Skip to content

Commit

Permalink
fixed react warning in Suspense in alert flyout (elastic#77777)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Sep 18, 2020
1 parent 9da19e8 commit 6e6ad75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export const AlertForm = ({
) : null}
</EuiFlexGroup>
{AlertParamsExpressionComponent ? (
<Suspense fallback={CenterJustifiedSpinner}>
<Suspense fallback={<CenterJustifiedSpinner />}>
<AlertParamsExpressionComponent
alertParams={alert.params}
alertInterval={`${alertInterval ?? 1}${alertIntervalUnit}`}
Expand Down

0 comments on commit 6e6ad75

Please sign in to comment.