import React from 'react'; export default function Console({ logs }) { const bottomRef = React.useRef(null); React.useEffect(() => { bottomRef.current?.scrollIntoView({ behavior: 'smooth' }); }, [logs]); return (