Skip to content

Commit 812d767

Browse files
committed
fix(range): use correct function
1 parent f7ad2ba commit 812d767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/range/range.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export class Range implements ComponentInterface {
214214
@Prop({ mutable: true }) value: RangeValue = 0;
215215
@Watch('value')
216216
protected valueChanged(newValue: RangeValue, oldValue: RangeValue) {
217-
const valuesChanged = this.areValuesDifferent(newValue, oldValue);
217+
const valuesChanged = this.compareValues(newValue, oldValue);
218218
if (valuesChanged) {
219219
this.ionInput.emit({ value: this.value });
220220
}

0 commit comments

Comments
 (0)