diff options
| author | Dhravya Shah <[email protected]> | 2025-01-20 17:49:19 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2025-01-20 17:50:45 -0700 |
| commit | 47904011de646b92b1f3774f9a30bcfa118c5dc4 (patch) | |
| tree | ab0e5e79c4ad5465ceeedc9b4015be2d9d01be45 /apps/web/app/(dash)/header/newChatButton.tsx | |
| parent | Merge pull request #295 from supermemoryai/extension/duplicate-save-fix (diff) | |
| download | supermemory-47904011de646b92b1f3774f9a30bcfa118c5dc4.tar.xz supermemory-47904011de646b92b1f3774f9a30bcfa118c5dc4.zip | |
Supermemory v2 Release 🚀
Diffstat (limited to 'apps/web/app/(dash)/header/newChatButton.tsx')
| -rw-r--r-- | apps/web/app/(dash)/header/newChatButton.tsx | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/apps/web/app/(dash)/header/newChatButton.tsx b/apps/web/app/(dash)/header/newChatButton.tsx deleted file mode 100644 index a634ab41..00000000 --- a/apps/web/app/(dash)/header/newChatButton.tsx +++ /dev/null @@ -1,27 +0,0 @@ -"use client"; - -import { ChatIcon } from "@repo/ui/icons"; -import Image from "next/image"; -import Link from "next/link"; -import { usePathname } from "next/navigation"; -import React from "react"; - -function NewChatButton() { - const path = usePathname(); - - if (path.startsWith("/chat")) { - return ( - <Link - href="/home" - className="flex duration-200 items-center text-[#7D8994] hover:bg-[#1F2429] text-[13px] gap-2 px-3 py-2 rounded-xl" - > - <Image src={ChatIcon} alt="Chat icon" className="w-5" /> - Start new chat - </Link> - ); - } - - return null; -} - -export default NewChatButton; |