Skip to content

Commit f7ad2ba

Browse files
Update core/src/components/range/range.tsx
Co-authored-by: Brandy Smith <[email protected]>
1 parent e8b57c8 commit f7ad2ba

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
@@ -231,7 +231,7 @@ export class Range implements ComponentInterface {
231231
* @param oldVal - The old value.
232232
* @returns `true` if the values are different, `false` otherwise.
233233
*/
234-
private areValuesDifferent = (newVal: RangeValue, oldVal: RangeValue) => {
234+
private compareValues = (newVal: RangeValue, oldVal: RangeValue) => {
235235
if (typeof newVal === 'object' && typeof oldVal === 'object') {
236236
return newVal.lower !== oldVal.lower || newVal.upper !== oldVal.upper;
237237
}

0 commit comments

Comments
 (0)