Skip to content

Commit 068e8d3

Browse files
author
Alexandre Stanislawski
committed
fix(numeric-selector): makes init comply with the new API
1 parent d8d0434 commit 068e8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

widgets/numeric-selector/numeric-selector.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function numericSelector({
4444
}
4545

4646
return {
47-
init: function(state, helper) {
47+
init: function({helper}) {
4848
const currentValue = this._getRefinedValue(helper) || options[0].value;
4949
if (currentValue !== undefined) {
5050
helper.addNumericRefinement(attributeName, operator, currentValue);

0 commit comments

Comments
 (0)