onSelectSession(session.id)}
className={cn(
- "group relative flex w-full items-center rounded-lg transition-colors",
+ "w-full rounded-lg px-3 py-2.5 text-left transition-colors",
session.id === currentSessionId
? "bg-zinc-100"
: "hover:bg-zinc-50",
)}
>
-
))
)}
diff --git a/autogpt_platform/frontend/src/app/(platform)/copilot/components/MobileHeader/MobileHeader.tsx b/autogpt_platform/frontend/src/app/(platform)/copilot/components/MobileHeader/MobileHeader.tsx
index e0d6161744..b4b7636c81 100644
--- a/autogpt_platform/frontend/src/app/(platform)/copilot/components/MobileHeader/MobileHeader.tsx
+++ b/autogpt_platform/frontend/src/app/(platform)/copilot/components/MobileHeader/MobileHeader.tsx
@@ -1,22 +1,46 @@
import { Button } from "@/components/atoms/Button/Button";
import { NAVBAR_HEIGHT_PX } from "@/lib/constants";
-import { ListIcon } from "@phosphor-icons/react";
+import { ListIcon, TrashIcon } from "@phosphor-icons/react";
interface Props {
onOpenDrawer: () => void;
+ showDelete?: boolean;
+ isDeleting?: boolean;
+ onDelete?: () => void;
}
-export function MobileHeader({ onOpenDrawer }: Props) {
+export function MobileHeader({
+ onOpenDrawer,
+ showDelete,
+ isDeleting,
+ onDelete,
+}: Props) {
return (
-