Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix logs scrolling
Tomas Valentad9e2a88eeba0
diff --git a/components/Editor/RightSidebar/Logs/index.tsx b/components/Editor/RightSidebar/Logs/index.tsxindex ad7f6f938..831cf253f 100644--- a/components/Editor/RightSidebar/Logs/index.tsx+++ b/components/Editor/RightSidebar/Logs/index.tsx@@ -1,11 +1,10 @@import {Fragment,useEffect,- useLayoutEffect,useRef,useState,} from 'react'-import hljs from 'highlight.js'+// import hljs from 'highlight.js'import ReactMarkdown from 'react-markdown'import Text from 'components/Text'@@ -47,7 +46,6 @@ function Logs({// }// }, [logs, selectedTab])-useEffect(function scrollLogs() {if (!ref.current) returnref.current.scrollIntoView({ behavior: 'smooth' })@@ -89,7 +87,6 @@ function Logs({</div><div- ref={ref}className="flex-1overflow-auto@@ -99,6 +96,8 @@ function Logs({scrollerwhitespace-pre-wrappy-4+ flex+ flex-colpx-2">{selectedTab === 0 && logs?.map((l, i, a) =>