diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index 2ea12e00e..42164296b 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -2,7 +2,7 @@ import { cookies } from "next/headers" import { Metadata } from "next" import { Search } from "@/components/search" -import { Workspace } from "@/components/workspace" +import { Workspace } from "@/components/workspace" import WorkflowSwitcher from "@/components/workflow-switcher" import { UserNav } from "@/components/user-nav" @@ -24,29 +24,29 @@ export default function DashboardPage() { // Safely attempt to parse `collapsed.value` if it exists defaultCollapsed = collapsed ? JSON.parse(collapsed.value) : undefined; } catch (error) { - // Handle any errors that occur during parsing, such as invalid JSON - console.error("Error parsing collapsed value:", error); defaultCollapsed = false; // Or set to a sensible default } } return ( <> -
-
- -
- - +
+
+
+ +
+ + +
-
-
- +
+ +
)