Merge pull request #20 from evilalmus/main

Update control window to render grid boxes based on GRID_COUNT constant
This commit is contained in:
Max Goodhart
2020-06-28 00:42:34 -07:00
committed by GitHub

View File

@@ -235,10 +235,10 @@ function App({ wsEndpoint }) {
)} )}
<StyledDataContainer isConnected={isConnected}> <StyledDataContainer isConnected={isConnected}>
<div> <div>
{range(0, 3).map((y) => ( {range(0, GRID_COUNT).map((y) => (
<StyledGridLine> <StyledGridLine>
{range(0, 3).map((x) => { {range(0, GRID_COUNT).map((x) => {
const idx = 3 * y + x const idx = GRID_COUNT * y + x
const { const {
streamId = '', streamId = '',
isListening = false, isListening = false,