Skip to content

Commit

Permalink
Fix burn rate rule editor lazy loading with new context
Browse files Browse the repository at this point in the history
  • Loading branch information
kdelemme committed Nov 21, 2024
1 parent 684a130 commit ce93b2d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export const registerBurnRateRuleType = (
documentationUrl(docLinks) {
return `${docLinks.links.observability.sloBurnRateRule}`;
},
ruleParamsExpression: lazy(() => import('../components/burn_rate_rule_editor')),
ruleParamsExpression: lazyWithContextProviders(
lazy(() => import('../components/burn_rate_rule_editor'))
),
validate: validateBurnRateRule,
requiresAppContext: false,
defaultActionMessage: sloBurnRateDefaultActionMessage,
Expand Down

0 comments on commit ce93b2d

Please sign in to comment.