diff --git a/src/web/control.js b/src/web/control.js index 1217ae3..2041b40 100644 --- a/src/web/control.js +++ b/src/web/control.js @@ -114,12 +114,13 @@ function App({ wsEndpoint }) { {range(0, 3).map((x) => { const idx = 3 * y + x - const { streamId, isListening } = stateIdxMap.get(idx) + const { streamId, isListening, state } = stateIdxMap.get(idx) return ( @@ -153,6 +154,7 @@ function GridInput({ idx, onChangeSpace, spaceValue, + isError, isListening, onSetListening, }) { @@ -188,6 +190,7 @@ function GridInput({ (isError ? 'red' : 'black')}; font-size: 20px; text-align: center;