import React from "react"; const GOAL_TYPES = [ "Retirement", "House Down Payment", "Education Fund", "Emergency Fund", "Wealth Building", "Debt Payoff", "Custom", ]; export default function Sidebar({ portfolio, setPortfolio, profile, setProfile, financialGoal, setFinancialGoal, onRunAnalysis, onRunAgents, onRunInsights, onSaveSnapshot, onExportPDF, loading, hasAnalysis, }) { const update = (field, value) => setPortfolio((p) => ({ ...p, [field]: value })); const updateProfile = (field, value) => setProfile((p) => ({ ...p, [field]: value })); const updateGoal = (field, value) => setFinancialGoal((g) => ({ ...g, [field]: value })); return ( ); }