Skip to content

Commit de6a501

Browse files
committed
removed un-needed comment
1 parent 16bdd74 commit de6a501

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

superset-frontend/src/filters/components/Range/RangeFilterPlugin.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ export default function RangeFilterPlugin(props: PluginFilterRangeProps) {
310310
return;
311311
}
312312

313-
// Handle error case
314313
if (filterState.validateStatus === 'error') {
315314
setError(filterState.validateMessage);
316315

@@ -426,11 +425,9 @@ export default function RangeFilterPlugin(props: PluginFilterRangeProps) {
426425
} else if (enableSingleValue === SingleValueType.Maximum) {
427426
newInputValue = [null, singleValue];
428427
} else {
429-
// Exact - use the same value for both
430428
newInputValue = [singleValue, singleValue];
431429
}
432430
} else {
433-
// Regular range case - value is an array
434431
const arrayValue = Array.isArray(value) ? value : [min, max];
435432
const [sliderMin, sliderMax] =
436433
arrayValue.length >= 2 ? [arrayValue[0], arrayValue[1]] : [min, max];

0 commit comments

Comments
 (0)