Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Cleanup

Tomas Valenta49c197d659cd
diff --git a/components/Editor/RouteEditor/index.tsx b/components/Editor/RouteEditor/index.tsx
index a97115143..d08f12796 100644
--- a/components/Editor/RouteEditor/index.tsx
+++ b/components/Editor/RouteEditor/index.tsx
@@ -24,10 +24,16 @@ function RouteEditor({ route }: Props) {
flex
flex-1
items-start
+ justify-center
overflow-hidden
">
{!route &&
- <div>No route selected</div>
+ <div className="
+ text-slate-400
+ self-center
+ ">
+ No route selected
+ </div>
}
{route &&
<>
diff --git a/components/Editor/Routes.tsx b/components/Editor/Routes.tsx
index d183f9899..455aa4cea 100644
--- a/components/Editor/Routes.tsx
+++ b/components/Editor/Routes.tsx
@@ -36,6 +36,7 @@ function Routes({
text="Routes"
className="
font-semibold
+ py-3.5
uppercase
text-slate-400
"
@@ -52,7 +53,8 @@ function Routes({
flex-col
overflow-y-auto
leading-4
- p-2
+ py-1.5
+ px-2
break-words
whitespace-normal
space-y-0.5
diff --git a/components/Editor/Sidebar/Logs/Thought.tsx b/components/Editor/Sidebar/Logs/Thought.tsx
index 87086a121..1d1d8d173 100644
--- a/components/Editor/Sidebar/Logs/Thought.tsx
+++ b/components/Editor/Sidebar/Logs/Thought.tsx
@@ -1,6 +1,7 @@
-import { ThoughtLog } from 'db/types'
import { useMemo } from 'react'
+import { ThoughtLog } from 'db/types'
+
export interface Props {
log: ThoughtLog
}
@@ -12,7 +13,6 @@ function Thought({
return log.content
.replaceAll('\nAction:', '')
.replaceAll('Thought:', '')
- .replaceAll('Final Answer:', '')
.trim()
}, [log.content])