Skip to content

armgit / E2B

Public Imported from GitHub
0

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

commit

Vasek Mlejnsky47c68c79539e
diff --git a/components/Editor/index.tsx b/components/Editor/index.tsx
index b631ce5ff..b01cd1ecc 100644
--- a/components/Editor/index.tsx
+++ b/components/Editor/index.tsx
@@ -93,7 +93,7 @@ function Editor({ project }: Props) {
MenuSection.Run,
)
- const [sizes, setSizes] = useLocalStorage('project-board-splitter-sizes', [0, 100 / 3, 100 / 3])
+ const [sizes, setSizes] = useLocalStorage('project-board-splitter-sizes', [100 / 3, 100 / 3, 100 / 3])
const handleResize = useCallback((_: number, newSizes: number[]) => {
setSizes(newSizes)
if (ref.current) {
@@ -109,13 +109,14 @@ function Editor({ project }: Props) {
return (
<div className="
+ w-full
flex
flex-row
overflow-hidden
flex-1
">
<Splitter
- minWidths={[0, 260, 260]}
+ minWidths={[260, 260, 260]}
gutterTheme={GutterTheme.Light}
initialSizes={sizes}
classes={['flex', 'flex', 'flex']}