(height, width)
| 90 | }, [handleSendIntersectionsPostMessage]); |
| 91 | |
| 92 | const updateContainerSize = (height, width) => { |
| 93 | const container = containerRef.current; |
| 94 | if (!container) { |
| 95 | return; |
| 96 | } |
| 97 | setStyle(container, 'width', width, 'px'); |
| 98 | setStyle(container, 'height', height, 'px'); |
| 99 | }; |
| 100 | |
| 101 | const attemptResize = useCallback(() => { |
| 102 | let height = Number(dataRef.current?.height); |
no test coverage detected