Scale displayed status
This commit is contained in:
parent
6c720bd8aa
commit
03b14c769b
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ const App = () => {
|
|||
increase={sendIncreaseHandler}
|
||||
decrease={sendDecreaseHandler}
|
||||
toggle={sendToggleHandler}
|
||||
status={status}
|
||||
status={Math.floor((status / 255) * 100)}
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
|
|
Reference in a new issue