Skip to content

Commit c7abea0

Browse files
authored
fixed react warning in Suspense in alert flyout (#77777)
1 parent e7b0e28 commit c7abea0

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form

1 file changed

+1
-1
lines changed

x-pack/plugins/triggers_actions_ui/public/application/sections/alert_form/alert_form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export const AlertForm = ({
244244
) : null}
245245
</EuiFlexGroup>
246246
{AlertParamsExpressionComponent ? (
247-
<Suspense fallback={CenterJustifiedSpinner}>
247+
<Suspense fallback={<CenterJustifiedSpinner />}>
248248
<AlertParamsExpressionComponent
249249
alertParams={alert.params}
250250
alertInterval={`${alertInterval ?? 1}${alertIntervalUnit}`}

0 commit comments

Comments
 (0)