Skip to content

Commit

Permalink
Remove additional defaultExpression push
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacqary committed May 14, 2020
1 parent ef347e3 commit b7388a6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ export const Expressions: React.FC<Props> = props => {
timeSize: timeSize ?? defaultExpression.timeSize,
timeUnit: timeUnit ?? defaultExpression.timeUnit,
});
exp.push(defaultExpression);
setAlertParams('criteria', exp);
}, [setAlertParams, alertParams.criteria, timeSize, timeUnit]);

Expand Down

0 comments on commit b7388a6

Please sign in to comment.