This commit is contained in:
maximus
2026-07-23 10:07:11 +02:00
parent ac880a1222
commit 513cd16f67
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export default function TicketDetail({ ticketId, onBack }: TicketDetailProps) {
}, [ticketId]);
// Envoi d'un nouveau message dans la discussion
const handleSendMessage = async (e: React.FormEvent) => {
const handleSendMessage = async (e: React.SubmitEvent) => {
e.preventDefault();
if (!newMessage.trim() || !currentUser) return;