'use client'; import type { FormState } from '../types'; type Props = { form: FormState; }; export default function GoalPreviewPanel({ form }: Props) { const percent = form.targetAmount > 0 ? Math.min((form.startAmount / form.targetAmount) * 100, 100) : 0; return ( ); }