this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix null style

+4 -2
+4 -2
src/components/compose.jsx
··· 1474 1474 if (!textarea) return; 1475 1475 const resizeObserver = new ResizeObserver(() => { 1476 1476 // Get height of textarea, set height to textExpander 1477 - const { height } = textarea.getBoundingClientRect(); 1478 - textExpanderRef.current.style.height = height + 'px'; 1477 + if (textExpanderRef.current) { 1478 + const { height } = textarea.getBoundingClientRect(); 1479 + textExpanderRef.current.style.height = height + 'px'; 1480 + } 1479 1481 }); 1480 1482 resizeObserver.observe(textarea); 1481 1483 }, []);