()
| 101 | }; |
| 102 | |
| 103 | const adjustHeight = () => { |
| 104 | const el = textareaRef.current; |
| 105 | if (!el) return; |
| 106 | el.style.height = "auto"; |
| 107 | el.style.height = `${Math.min(el.scrollHeight, 200)}px`; |
| 108 | }; |
| 109 | |
| 110 | return ( |
| 111 | <div className="border-t border-surface-800 bg-surface-900/50 backdrop-blur-sm px-4 py-3"> |