Removed the previous inputs of settings preference view

This commit is contained in:
Clément Le Bihan
2023-04-10 23:58:49 +02:00
parent 047cd054bd
commit 3aa104a923
2 changed files with 5 additions and 94 deletions
+5 -2
View File
@@ -109,8 +109,11 @@ export const getElementRangeNode = (
) => {
return (
<Slider
value={value}
defaultValue={defaultValue}
// this is a hot fix for now but ideally this input should be managed
// by the value prop and not the defaultValue prop but it requires the
// caller to manage the state of the continuous value which is not ideal
defaultValue={value}
// defaultValue={defaultValue}
minValue={min}
maxValue={max}
step={step}