()
| 67 | }; |
| 68 | |
| 69 | const initMatrix = () => { |
| 70 | const newMatrix: MatrixColumn[] = []; |
| 71 | for (let j = 0; j < cols; j++) { |
| 72 | newMatrix.push(createColumn(rows, trailMultiplier)); |
| 73 | } |
| 74 | matrixRef.current = newMatrix; |
| 75 | }; |
| 76 | |
| 77 | const resizeObserver = new ResizeObserver(() => { |
| 78 | width = container.clientWidth; |
no test coverage detected