chore(dashboard): widen NewChatDialog submit handler event type

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-05-01 10:39:18 -07:00
parent 50d965b206
commit f48951959c

View File

@@ -419,7 +419,7 @@ function NewChatDialog({ projectId, onClose, onCreate }: NewChatDialogProps) {
}
}, [favoriteModels, favoriteProviders]);
const handleSubmit = (e: React.FormEvent) => {
const handleSubmit = (e: React.SyntheticEvent<HTMLFormElement>) => {
e.preventDefault();
if (chatMode === "agent") {