Skip to content

Commit

Permalink
fixed react warning in Suspense in alert flyout (#77777)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris authored Sep 18, 2020
1 parent e7b0e28 commit c7abea0
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 c7abea0

Please sign in to comment.