import { useState } from 'react' import { Menu, X } from 'lucide-react' import useChat from './hooks/useChat' import FeatureSidebar from './components/FeatureSidebar' import ChatWindow from './components/ChatWindow' import InputBar from './components/InputBar' function App() { const { messages, features, loading, prediction, sendMessage, resetChat } = useChat() const [showConfirm, setShowConfirm] = useState(false) const [sidebarOpen, setSidebarOpen] = useState(false) const handleReset = async () => { setShowConfirm(true) } const confirmReset = async () => { setShowConfirm(false) await resetChat() } return (
This will clear all your current health data and start a fresh assessment.