Remove redundant min and max props from brightness levelbar
This commit is contained in:
@@ -289,8 +289,6 @@ function PinenoteShell() {
|
|||||||
vertical
|
vertical
|
||||||
class="brightness-levelbar"
|
class="brightness-levelbar"
|
||||||
value={brightnessLevel((v) => Math.max(0, Math.min(1, (v || 0) / 100)))}
|
value={brightnessLevel((v) => Math.max(0, Math.min(1, (v || 0) / 100)))}
|
||||||
min={0}
|
|
||||||
max={1}
|
|
||||||
/>
|
/>
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user