"use client"; import { ArrowUp } from "lucide-react"; import { useState } from "react"; import { useAssistant } from "@/components/Assistant"; const STARTERS = ["What should I do first with my money?", "How can I spend less without feeling it?", "Am I on track for my goals?"]; // The plan as a conversation: ask in plain words. The AI can look up your numbers and offer budget and category changes. export function PlanChat() { const { ask } = useAssistant(); const [q, setQ] = useState(""); function send(e: React.FormEvent) { e.preventDefault(); if (!q.trim()) return; ask(q.trim()); setQ(""); } return (

Talk it through

Ask anything about your money. It can look at your numbers and suggest changes to your budget and categories.

setQ(e.target.value)} aria-label="Ask about your plan" placeholder="I want to save for a trip. Where do I start?" className="select flex-1 min-w-0" />
{STARTERS.map((s) => )}
); }