diff options
| author | MaheshtheDev <[email protected]> | 2025-10-01 22:49:55 +0000 |
|---|---|---|
| committer | MaheshtheDev <[email protected]> | 2025-10-01 22:49:55 +0000 |
| commit | 082b6fb26ba62dd030454dd93a94c1309df42166 (patch) | |
| tree | 06c93f629fb547ff1252805e6d7b257d093a3929 /apps/web/components/chat-input.tsx | |
| parent | feat: layout design with theme improvements (#443) (diff) | |
| download | supermemory-10-01-fix_hardcode_names.tar.xz supermemory-10-01-fix_hardcode_names.zip | |
fix: hardcode names (#444)10-01-fix_hardcode_names
Diffstat (limited to 'apps/web/components/chat-input.tsx')
| -rw-r--r-- | apps/web/components/chat-input.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/web/components/chat-input.tsx b/apps/web/components/chat-input.tsx index cf7409fc..c5fd0c5c 100644 --- a/apps/web/components/chat-input.tsx +++ b/apps/web/components/chat-input.tsx @@ -7,11 +7,13 @@ import { usePersistentChat } from "@/stores/chat" import { ArrowUp } from "lucide-react" import { Button } from "@ui/components/button" import { ProjectSelector } from "./project-selector" +import { useAuth } from "@lib/auth-context" export function ChatInput() { const [message, setMessage] = useState("") const router = useRouter() const { setCurrentChatId } = usePersistentChat() + const { user } = useAuth() const handleSend = () => { if (!message.trim()) return @@ -40,7 +42,7 @@ export function ChatInput() { <div className="w-full max-w-4xl"> <div className="text-start mb-4"> <h2 className="text-3xl font-bold text-foreground"> - Good evening, <span className="text-primary">Mahesh</span> + Welcome, <span className="text-primary">{user?.name}</span> </h2> </div> <div className="relative"> |