Scale displayed status

This commit is contained in:
GHOSCHT 2021-08-27 22:22:07 +02:00
parent 6c720bd8aa
commit 03b14c769b

View file

@ -84,7 +84,7 @@ const App = () => {
increase={sendIncreaseHandler}
decrease={sendDecreaseHandler}
toggle={sendToggleHandler}
status={status}
status={Math.floor((status / 255) * 100)}
/>
<button
type="button"