Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Don't show sidepanel on auth

Jakub Novak8234a3dbf833
diff --git a/apps/web/src/components/Layout.tsx b/apps/web/src/components/Layout.tsx
index 2dedfeff6..3bf7af238 100644
--- a/apps/web/src/components/Layout.tsx
+++ b/apps/web/src/components/Layout.tsx
@@ -34,9 +34,10 @@ export function Layout({
layoutScroll
className="contents lg:pointer-events-none lg:fixed lg:inset-0 lg:z-40 lg:flex lg:top-[60px]"
>
- <div
- id="sidebar"
- className="
+ {isDocs && (
+ <div
+ id="sidebar"
+ className="
lg:pointer-events-auto
scrollbar-thin
scrollbar-thumb-scrollbar
@@ -49,13 +50,12 @@ export function Layout({
border-white/10
lg:pb-4
"
- >
- {isDocs && (
+ >
<div className="hidden lg:block lg:mt-4">
<Navigation />
</div>
- )}
- </div>
+ </div>
+ )}
</motion.header>
)}
{isDocs && (