(el: HTMLElement, track: string)
| 132 | }, [isStreaming]); |
| 133 | |
| 134 | const seedTableCounts = (el: HTMLElement, track: string) => { |
| 135 | if (isStreaming && findTableStart(track) !== -1) { |
| 136 | initTableRowCountsFromTrack(el, track); |
| 137 | } else { |
| 138 | initTableRowCounts(el); |
| 139 | } |
| 140 | }; |
| 141 | |
| 142 | useLayoutEffect(() => { |
| 143 | const el = ref.current; |
no test coverage detected