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:
@@ -419,7 +419,7 @@ function NewChatDialog({ projectId, onClose, onCreate }: NewChatDialogProps) {
|
|||||||
}
|
}
|
||||||
}, [favoriteModels, favoriteProviders]);
|
}, [favoriteModels, favoriteProviders]);
|
||||||
|
|
||||||
const handleSubmit = (e: React.FormEvent) => {
|
const handleSubmit = (e: React.SyntheticEvent<HTMLFormElement>) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
if (chatMode === "agent") {
|
if (chatMode === "agent") {
|
||||||
|
|||||||
Reference in New Issue
Block a user