- {/* Project header */}
+
+
+
+ {state.projects.map((project) => {
+ const threads = state.threads
+ .filter((thread) => thread.projectId === project.id)
+ .toSorted((a, b) => {
+ const byDate = new Date(b.createdAt).getTime() - new Date(a.createdAt).getTime();
+ if (byDate !== 0) return byDate;
+ return b.id.localeCompare(a.id);
+ });
+
+ return (
+ {
+ if (open === project.expanded) return;
+ dispatch({ type: "TOGGLE_PROJECT", projectId: project.id });
+ }}
+ >
+
+
+ }
+ onContextMenu={(event) => {
+ event.preventDefault();
+ void handleProjectContextMenu(project.id, {
+ x: event.clientX,
+ y: event.clientY,
+ });
+ }}
+ >
+
+
+ {project.name}
+
+ {threads.length}
+
+
+
+
+ {threads.map((thread) => {
+ const isActive = routeThreadId === thread.id;
+ const threadStatus = threadStatusPill(
+ thread,
+ pendingApprovalByThreadId.get(thread.id) === true,
+ );
+ const terminalStatus = terminalStatusIndicator(thread);
+
+ return (
+
+ }
+ size="sm"
+ isActive={isActive}
+ className={`h-7 w-full translate-x-0 justify-start px-2 text-left hover:bg-accent hover:text-foreground ${
+ isActive ? "text-foreground" : "text-muted-foreground"
+ }`}
+ onClick={() => {
+ void navigate({
+ to: "/$threadId",
+ params: { threadId: thread.id },
+ });
+ }}
+ onContextMenu={(event) => {
+ event.preventDefault();
+ void handleThreadContextMenu(thread.id, {
+ x: event.clientX,
+ y: event.clientY,
+ });
+ }}
+ >
+
+ {threadStatus && (
+
+
+ {threadStatus.label}
+
+ )}
+
+ {thread.title}
+
+
+
+ {terminalStatus && (
+
+
+
+ )}
+
+ {formatRelativeTime(thread.createdAt)}
+
+
+
+
+ );
+ })}
+
+
+ }
+ size="sm"
+ className="h-6 w-full translate-x-0 justify-start px-2 text-left text-[10px] text-muted-foreground/60 hover:bg-accent hover:text-muted-foreground/80"
+ onClick={() => {
+ void handleNewThread(project.id);
+ }}
+ >
+ +
+ New thread
+
+
+
+
+
+
+ );
+ })}
+
+
+ {state.projects.length === 0 && !addingProject && (
+
+ No projects yet.
+
+ Add one to get started.
+
+ )}
+
+
+
+
+
+ {addingProject ? (
+ <>
+
+ Add project
+
+ setNewCwd(event.target.value)}
+ onKeyDown={(event) => {
+ if (event.key === "Enter") handleAddProject();
+ if (event.key === "Escape") setAddingProject(false);
+ }}
+ />
+ {isElectron && api && (
+ )}
+
+
+
-
- {/* Threads */}
- {project.expanded && (
-
- {threads.map((thread) => {
- const isActive = routeThreadId === thread.id;
- const threadStatus = threadStatusPill(
- thread,
- pendingApprovalByThreadId.get(thread.id) === true,
- );
- const terminalStatus = terminalStatusIndicator(thread);
- return (
-
- );
- })}
-
- {/* New thread within project */}
-
-
- )}
- );
- })}
-
- {state.projects.length === 0 && !addingProject && (
-
- No projects yet.
-
- Add one to get started.
-
- )}
-
-
- {/* Add project form */}
- {addingProject ? (
-
-
- Add project
-
-
setNewCwd(e.target.value)}
- onKeyDown={(e) => {
- if (e.key === "Enter") handleAddProject();
- if (e.key === "Escape") setAddingProject(false);
- }}
- />
- {isElectron && api && (
-
- )}
-
-
-
-
-
- ) : (
-
+ >
+ ) : (
-
- )}
-
+ )}
+
+
+
+ >
);
}
diff --git a/apps/web/src/components/ui/collapsible.tsx b/apps/web/src/components/ui/collapsible.tsx
new file mode 100644
index 0000000000..84935fd567
--- /dev/null
+++ b/apps/web/src/components/ui/collapsible.tsx
@@ -0,0 +1,45 @@
+"use client";
+
+import { Collapsible as CollapsiblePrimitive } from "@base-ui/react/collapsible";
+
+import { cn } from "~/lib/utils";
+
+function Collapsible({ ...props }: CollapsiblePrimitive.Root.Props) {
+ return
;
+}
+
+function CollapsibleTrigger({
+ className,
+ ...props
+}: CollapsiblePrimitive.Trigger.Props) {
+ return (
+
+ );
+}
+
+function CollapsiblePanel({
+ className,
+ ...props
+}: CollapsiblePrimitive.Panel.Props) {
+ return (
+
+ );
+}
+
+export {
+ Collapsible,
+ CollapsibleTrigger,
+ CollapsiblePanel,
+ CollapsiblePanel as CollapsibleContent,
+};
diff --git a/apps/web/src/components/ui/sidebar.tsx b/apps/web/src/components/ui/sidebar.tsx
new file mode 100644
index 0000000000..fbe2308f6b
--- /dev/null
+++ b/apps/web/src/components/ui/sidebar.tsx
@@ -0,0 +1,700 @@
+import { mergeProps } from "@base-ui/react/merge-props";
+import { useRender } from "@base-ui/react/use-render";
+import { cva, type VariantProps } from "class-variance-authority";
+import { PanelLeftCloseIcon, PanelLeftIcon } from "lucide-react";
+import * as React from "react";
+import { cn } from "~/lib/utils";
+import { Button } from "~/components/ui/button";
+import { Input } from "~/components/ui/input";
+import { ScrollArea } from "~/components/ui/scroll-area";
+import { Separator } from "~/components/ui/separator";
+import {
+ Sheet,
+ SheetDescription,
+ SheetHeader,
+ SheetPopup,
+ SheetTitle,
+} from "~/components/ui/sheet";
+import { Skeleton } from "~/components/ui/skeleton";
+import { Tooltip, TooltipPopup, TooltipTrigger } from "~/components/ui/tooltip";
+import { useMediaQuery } from "~/hooks/useMediaQuery";
+
+const SIDEBAR_COOKIE_NAME = "sidebar_state";
+const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
+const SIDEBAR_WIDTH = "16rem";
+const SIDEBAR_WIDTH_MOBILE = "calc(100vw - var(--spacing(3)))";
+const SIDEBAR_WIDTH_ICON = "3rem";
+const SIDEBAR_KEYBOARD_SHORTCUT = "b";
+
+type SidebarContextProps = {
+ state: "expanded" | "collapsed";
+ open: boolean;
+ setOpen: (open: boolean) => void;
+ openMobile: boolean;
+ setOpenMobile: (open: boolean) => void;
+ isMobile: boolean;
+ toggleSidebar: () => void;
+};
+
+const SidebarContext = React.createContext
(null);
+
+function useSidebar() {
+ const context = React.useContext(SidebarContext);
+ if (!context) {
+ throw new Error("useSidebar must be used within a SidebarProvider.");
+ }
+
+ return context;
+}
+
+function SidebarProvider({
+ defaultOpen = true,
+ open: openProp,
+ onOpenChange: setOpenProp,
+ className,
+ style,
+ children,
+ ...props
+}: React.ComponentProps<"div"> & {
+ defaultOpen?: boolean;
+ open?: boolean;
+ onOpenChange?: (open: boolean) => void;
+}) {
+ const isMobile = useMediaQuery("(max-width: 767px)");
+ const [openMobile, setOpenMobile] = React.useState(false);
+
+ // This is the internal state of the sidebar.
+ // We use openProp and setOpenProp for control from outside the component.
+ const [_open, _setOpen] = React.useState(defaultOpen);
+ const open = openProp ?? _open;
+ const setOpen = React.useCallback(
+ async (value: boolean | ((value: boolean) => boolean)) => {
+ const openState = typeof value === "function" ? value(open) : value;
+ if (setOpenProp) {
+ setOpenProp(openState);
+ } else {
+ _setOpen(openState);
+ }
+
+ // This sets the cookie to keep the sidebar state.
+ await cookieStore.set({
+ expires: Date.now() + SIDEBAR_COOKIE_MAX_AGE * 1000,
+ name: SIDEBAR_COOKIE_NAME,
+ path: "/",
+ value: String(openState),
+ });
+ },
+ [setOpenProp, open],
+ );
+
+ // Helper to toggle the sidebar.
+ const toggleSidebar = React.useCallback(() => {
+ return isMobile ? setOpenMobile((open) => !open) : setOpen((open) => !open);
+ }, [isMobile, setOpen]);
+
+ // Adds a keyboard shortcut to toggle the sidebar.
+ React.useEffect(() => {
+ const handleKeyDown = (event: KeyboardEvent) => {
+ if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
+ event.preventDefault();
+ toggleSidebar();
+ }
+ };
+
+ window.addEventListener("keydown", handleKeyDown);
+ return () => window.removeEventListener("keydown", handleKeyDown);
+ }, [toggleSidebar]);
+
+ // We add a state so that we can do data-state="expanded" or "collapsed".
+ // This makes it easier to style the sidebar with Tailwind classes.
+ const state = open ? "expanded" : "collapsed";
+
+ const contextValue = React.useMemo(
+ () => ({
+ isMobile,
+ open,
+ openMobile,
+ setOpen,
+ setOpenMobile,
+ state,
+ toggleSidebar,
+ }),
+ [state, open, setOpen, isMobile, openMobile, toggleSidebar],
+ );
+
+ return (
+
+
+ {children}
+
+
+ );
+}
+
+function Sidebar({
+ side = "left",
+ variant = "sidebar",
+ collapsible = "offcanvas",
+ className,
+ children,
+ ...props
+}: React.ComponentProps<"div"> & {
+ side?: "left" | "right";
+ variant?: "sidebar" | "floating" | "inset";
+ collapsible?: "offcanvas" | "icon" | "none";
+}) {
+ const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
+
+ if (collapsible === "none") {
+ return (
+
+ {children}
+
+ );
+ }
+
+ if (isMobile) {
+ return (
+
+
+
+ Sidebar
+ Displays the mobile sidebar.
+
+ {children}
+
+
+ );
+ }
+
+ return (
+
+ {/* This is what handles the sidebar gap on desktop */}
+
+
+
+ );
+}
+
+function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps) {
+ const { toggleSidebar, openMobile } = useSidebar();
+
+ return (
+
+ );
+}
+
+function SidebarRail({ className, ...props }: React.ComponentProps<"button">) {
+ const { toggleSidebar } = useSidebar();
+
+ return (
+
+ );
+}
+
+function SidebarInset({ className, ...props }: React.ComponentProps<"main">) {
+ return (
+
+ );
+}
+
+function SidebarInput({ className, ...props }: React.ComponentProps) {
+ return (
+
+ );
+}
+
+function SidebarHeader({ className, ...props }: React.ComponentProps<"div">) {
+ return (
+
+ );
+}
+
+function SidebarFooter({ className, ...props }: React.ComponentProps<"div">) {
+ return (
+
+ );
+}
+
+function SidebarSeparator({ className, ...props }: React.ComponentProps) {
+ return (
+
+ );
+}
+
+function SidebarContent({ className, ...props }: React.ComponentProps<"div">) {
+ return (
+
+
+
+ );
+}
+
+function SidebarGroup({ className, ...props }: React.ComponentProps<"div">) {
+ return (
+
+ );
+}
+
+function SidebarGroupLabel({ className, render, ...props }: useRender.ComponentProps<"div">) {
+ const defaultProps = {
+ className: cn(
+ "flex h-8 shrink-0 items-center rounded-lg px-2 font-medium text-sidebar-foreground text-xs outline-hidden ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
+ "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
+ className,
+ ),
+ "data-sidebar": "group-label",
+ "data-slot": "sidebar-group-label",
+ };
+
+ return useRender({
+ defaultTagName: "div",
+ props: mergeProps(defaultProps, props),
+ render,
+ });
+}
+
+function SidebarGroupAction({ className, render, ...props }: useRender.ComponentProps<"button">) {
+ const defaultProps = {
+ className: cn(
+ "absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-lg p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg:not([class*='size-'])]:size-4 [&>svg]:shrink-0",
+ // Increases the hit area of the button on mobile.
+ "after:-inset-2 after:absolute md:after:hidden",
+ "group-data-[collapsible=icon]:hidden",
+ className,
+ ),
+ "data-sidebar": "group-action",
+ "data-slot": "sidebar-group-action",
+ };
+
+ return useRender({
+ defaultTagName: "button",
+ props: mergeProps(defaultProps, props),
+ render,
+ });
+}
+
+function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">) {
+ return (
+
+ );
+}
+
+function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">) {
+ return (
+
+ );
+}
+
+function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">) {
+ return (
+
+ );
+}
+
+const sidebarMenuButtonVariants = cva(
+ "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-lg p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pe-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg:not([class*='size-'])]:size-4 [&>svg]:shrink-0",
+ {
+ defaultVariants: {
+ size: "default",
+ variant: "default",
+ },
+ variants: {
+ size: {
+ default: "h-8 text-sm",
+ lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!",
+ sm: "h-7 text-xs",
+ },
+ variant: {
+ default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
+ outline:
+ "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]",
+ },
+ },
+ },
+);
+
+function SidebarMenuButton({
+ isActive = false,
+ variant = "default",
+ size = "default",
+ tooltip,
+ className,
+ render,
+ ...props
+}: useRender.ComponentProps<"button"> & {
+ isActive?: boolean;
+ tooltip?: string | React.ComponentProps;
+} & VariantProps) {
+ const { isMobile, state } = useSidebar();
+
+ const defaultProps = {
+ className: cn(sidebarMenuButtonVariants({ size, variant }), className),
+ "data-active": isActive,
+ "data-sidebar": "menu-button",
+ "data-size": size,
+ "data-slot": "sidebar-menu-button",
+ };
+
+ const buttonProps = mergeProps<"button">(defaultProps, props);
+
+ const buttonElement = useRender({
+ defaultTagName: "button",
+ props: buttonProps,
+ render,
+ });
+
+ if (!tooltip) {
+ return buttonElement;
+ }
+
+ if (typeof tooltip === "string") {
+ tooltip = {
+ children: tooltip,
+ };
+ }
+
+ return (
+
+ >} />
+
+
+ );
+}
+
+function SidebarMenuAction({
+ className,
+ showOnHover = false,
+ render,
+ ...props
+}: useRender.ComponentProps<"button"> & {
+ showOnHover?: boolean;
+}) {
+ const defaultProps = {
+ className: cn(
+ "absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-lg p-0 text-sidebar-foreground outline-hidden ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg:not([class*='size-'])]:size-4 [&>svg]:shrink-0",
+ // Increases the hit area of the button on mobile.
+ "after:-inset-2 after:absolute md:after:hidden",
+ "peer-data-[size=sm]/menu-button:top-1",
+ "peer-data-[size=default]/menu-button:top-1.5",
+ "peer-data-[size=lg]/menu-button:top-2.5",
+ "group-data-[collapsible=icon]:hidden",
+ showOnHover &&
+ "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",
+ className,
+ ),
+ "data-sidebar": "menu-action",
+ "data-slot": "sidebar-menu-action",
+ };
+
+ return useRender({
+ defaultTagName: "button",
+ props: mergeProps<"button">(defaultProps, props),
+ render,
+ });
+}
+
+function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">) {
+ return (
+
+ );
+}
+
+function SidebarMenuSkeleton({
+ className,
+ showIcon = false,
+ ...props
+}: React.ComponentProps<"div"> & {
+ showIcon?: boolean;
+}) {
+ // Random width between 50 to 90%.
+ const width = React.useMemo(() => {
+ return `${Math.floor(Math.random() * 40) + 50}%`;
+ }, []);
+
+ return (
+
+ {showIcon && }
+
+
+ );
+}
+
+function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">) {
+ return (
+
+ );
+}
+
+function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">) {
+ return (
+
+ );
+}
+
+function SidebarMenuSubButton({
+ size = "md",
+ isActive = false,
+ className,
+ render,
+ ...props
+}: useRender.ComponentProps<"a"> & {
+ size?: "sm" | "md";
+ isActive?: boolean;
+}) {
+ const defaultProps = {
+ className: cn(
+ "-translate-x-px flex h-7 min-w-0 items-center gap-2 overflow-hidden rounded-lg px-2 text-sidebar-foreground outline-hidden ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg:not([class*='size-'])]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
+ "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
+ size === "sm" && "text-xs",
+ size === "md" && "text-sm",
+ "group-data-[collapsible=icon]:hidden",
+ className,
+ ),
+ "data-active": isActive,
+ "data-sidebar": "menu-sub-button",
+ "data-size": size,
+ "data-slot": "sidebar-menu-sub-button",
+ };
+
+ return useRender({
+ defaultTagName: "a",
+ props: mergeProps<"a">(defaultProps, props),
+ render,
+ });
+}
+
+export {
+ Sidebar,
+ SidebarContent,
+ SidebarFooter,
+ SidebarGroup,
+ SidebarGroupAction,
+ SidebarGroupContent,
+ SidebarGroupLabel,
+ SidebarHeader,
+ SidebarInput,
+ SidebarInset,
+ SidebarMenu,
+ SidebarMenuAction,
+ SidebarMenuBadge,
+ SidebarMenuButton,
+ SidebarMenuItem,
+ SidebarMenuSkeleton,
+ SidebarMenuSub,
+ SidebarMenuSubButton,
+ SidebarMenuSubItem,
+ SidebarProvider,
+ SidebarRail,
+ SidebarSeparator,
+ SidebarTrigger,
+ useSidebar,
+};
diff --git a/apps/web/src/components/ui/tooltip.tsx b/apps/web/src/components/ui/tooltip.tsx
new file mode 100644
index 0000000000..f41c452007
--- /dev/null
+++ b/apps/web/src/components/ui/tooltip.tsx
@@ -0,0 +1,59 @@
+import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip";
+
+import { cn } from "~/lib/utils";
+
+const TooltipCreateHandle = TooltipPrimitive.createHandle;
+
+const TooltipProvider = TooltipPrimitive.Provider;
+
+const Tooltip = TooltipPrimitive.Root;
+
+function TooltipTrigger(props: TooltipPrimitive.Trigger.Props) {
+ return ;
+}
+
+function TooltipPopup({
+ className,
+ align = "center",
+ sideOffset = 4,
+ side = "top",
+ anchor,
+ children,
+ ...props
+}: TooltipPrimitive.Popup.Props & {
+ align?: TooltipPrimitive.Positioner.Props["align"];
+ side?: TooltipPrimitive.Positioner.Props["side"];
+ sideOffset?: TooltipPrimitive.Positioner.Props["sideOffset"];
+ anchor?: TooltipPrimitive.Positioner.Props["anchor"];
+}) {
+ return (
+
+
+
+
+ {children}
+
+
+
+
+ );
+}
+
+export { TooltipCreateHandle, TooltipProvider, Tooltip, TooltipTrigger, TooltipPopup };
diff --git a/apps/web/src/index.css b/apps/web/src/index.css
index 68b216ddd1..97cb06366f 100644
--- a/apps/web/src/index.css
+++ b/apps/web/src/index.css
@@ -133,6 +133,18 @@ body {
min-height: 100vh;
}
+html,
+body,
+#root {
+ height: 100%;
+ width: 100%;
+ max-width: 100%;
+ overflow-y: hidden;
+ overflow-x: hidden;
+ overflow-x: clip;
+ overscroll-behavior-y: none;
+}
+
body::after {
content: "";
position: fixed;
@@ -229,7 +241,9 @@ label:has(> select#reasoning-effort) select {
/* Chat markdown rendering */
.chat-markdown {
+ min-width: 0;
overflow-wrap: anywhere;
+ word-break: break-word;
}
.chat-markdown > :first-child {
@@ -283,6 +297,7 @@ label:has(> select#reasoning-effort) select {
}
.chat-markdown pre {
+ max-width: 100%;
overflow-x: auto;
border: 1px solid var(--border);
border-radius: 0.75rem;
diff --git a/apps/web/src/routes/_chat.index.tsx b/apps/web/src/routes/_chat.index.tsx
index 5e70383c48..888e6ee74b 100644
--- a/apps/web/src/routes/_chat.index.tsx
+++ b/apps/web/src/routes/_chat.index.tsx
@@ -1,10 +1,20 @@
import { createFileRoute } from "@tanstack/react-router";
import { isElectron } from "../env";
+import { SidebarTrigger } from "../components/ui/sidebar";
function ChatIndexRouteView() {
return (
+ {!isElectron && (
+
+ )}
+
{isElectron && (
No active thread
diff --git a/apps/web/src/routes/_chat.tsx b/apps/web/src/routes/_chat.tsx
index 36c1445598..38cf5bcccd 100644
--- a/apps/web/src/routes/_chat.tsx
+++ b/apps/web/src/routes/_chat.tsx
@@ -2,7 +2,8 @@ import { Outlet, createFileRoute, useNavigate } from "@tanstack/react-router";
import { useEffect } from "react";
import { DiffWorkerPoolProvider } from "../components/DiffWorkerPoolProvider";
-import Sidebar from "../components/Sidebar";
+import ThreadSidebar from "../components/Sidebar";
+import { SidebarInset, Sidebar, SidebarProvider } from "~/components/ui/sidebar";
function ChatRouteLayout() {
const navigate = useNavigate();
@@ -24,16 +25,23 @@ function ChatRouteLayout() {
}, [navigate]);
return (
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
);
}
export const Route = createFileRoute("/_chat")({
component: ChatRouteLayout,
});
-