mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-09 03:18:04 +00:00
merge oopsies
This commit is contained in:
parent
3c361a7464
commit
77f7c9b6f1
1 changed files with 10 additions and 8 deletions
|
|
@ -7,7 +7,12 @@ import { getChatHistory } from "../../actions/fetchers";
|
|||
import NewChatButton from "./newChatButton";
|
||||
import AutoBreadCrumbs from "./autoBreadCrumbs";
|
||||
import SignOutButton from "./signOutButton";
|
||||
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@repo/ui/shadcn/dropdown-menu";
|
||||
import {
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuItem,
|
||||
DropdownMenuTrigger,
|
||||
} from "@repo/ui/shadcn/dropdown-menu";
|
||||
import { CaretDownIcon } from "@radix-ui/react-icons";
|
||||
|
||||
async function Header() {
|
||||
|
|
@ -37,9 +42,9 @@ async function Header() {
|
|||
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger className="inline-flex flex-row flex-nowrap items-center text-muted-foreground hover:text-foreground">
|
||||
History
|
||||
<CaretDownIcon />
|
||||
</DropdownMenuTrigger>
|
||||
History
|
||||
<CaretDownIcon />
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent className="p-4 w-full md:w-[400px] max-h-[70vh] overflow-auto border-none">
|
||||
{chatThreads.data.map((thread) => (
|
||||
<DropdownMenuItem asChild>
|
||||
|
|
@ -51,15 +56,12 @@ async function Header() {
|
|||
>
|
||||
{thread.firstMessage}
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
</DropdownMenuItem>
|
||||
))}
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
|
||||
<SignOutButton />
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue