npm run build fixed

This commit is contained in:
Orionis312050 committed 2026-04-16 17:43:02 +02:00
1 parent 76f963d49e
commit 4f50cc297e
8 files changed
+21 -12

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ export default function AIChatSidebar({ isOpen, onClose, currentService }: AICha
if (targetConv.title === "Nouvelle discussion") {
fetchConversations();
// et on met à jour la reférence locale pour ne pas avoir de glitch visuel
setCurrentConv(prev => prev ? {...prev, title: text.substring(0, 30)} : prev);
setCurrentConv((prev: Conversation | null) => prev ? {...prev, title: text.substring(0, 30)} : prev);
}
} else if (data.error) {
setIsTyping(false);
+1 -1
View File
@@ -1,4 +1,4 @@
import React, { useEffect, useState, useRef } from 'react';
import { useEffect, useState, useRef } from 'react';
import { io, Socket } from 'socket.io-client';
import { Download, Sparkles } from 'lucide-react';
import type { LogService } from '../types';
-1
View File
@@ -1,4 +1,3 @@
import React from 'react';
import { Navigate, Outlet } from 'react-router-dom';
import { useAuth } from '../context/AuthContext';