Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Keep Sidebar.tsx inside its size limit

milind-soni8f54a87e2893
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index 369c157abf..0c91b0cb28 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -1243,8 +1243,7 @@ export function Sidebar({ open, onClose, collapseToIcons = false }: {
return (
<aside
- ref={sidebarRef}
- data-sidebar-root={!phone || open ? "" : undefined}
+ ref={sidebarRef} data-sidebar-root={!phone || open ? "" : undefined}
tabIndex={-1}
aria-label={t("sidebar.aria")}
data-native-view-overlay