()
| 66 | }; |
| 67 | |
| 68 | const scrollToBottom = () => { |
| 69 | if (!hasUserScrolled) { |
| 70 | const endRef = isFullscreen ? fullscreenMessagesEndRef.current : outputEndRef.current; |
| 71 | if (endRef) { |
| 72 | endRef.scrollIntoView({ behavior: 'smooth' }); |
| 73 | } |
| 74 | } |
| 75 | }; |
| 76 | |
| 77 | // Clean up listeners on unmount |
| 78 | useEffect(() => { |
no outgoing calls
no test coverage detected