Skip to content

Commit

Permalink
chore: use the correct values for alert rule state in the context
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadshaheer committed Oct 8, 2024
1 parent 7d7d5e4 commit 499e1e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/providers/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ function AlertRuleProvider({

const value = React.useMemo(
() => ({
isAlertRuleDisabled,
setIsAlertRuleDisabled,
alertRuleState,
setAlertRuleState,
}),
[isAlertRuleDisabled],
[alertRuleState],
);

return (
Expand Down

0 comments on commit 499e1e3

Please sign in to comment.