From 0247f6ed9da342ed5c1b3ad59cdf1bb13bb49fac Mon Sep 17 00:00:00 2001 From: syoul Date: Sun, 23 Nov 2025 17:01:52 +0100 Subject: [PATCH] Ajout du message informatif pour le mode hors ligne dans ClientList --- components/admin/ClientList.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/components/admin/ClientList.tsx b/components/admin/ClientList.tsx index a860040..c27efb6 100644 --- a/components/admin/ClientList.tsx +++ b/components/admin/ClientList.tsx @@ -83,7 +83,7 @@ export default function ClientList({ onEdit, onRefresh }: ClientListProps) { if (loading) { return (
-

Chargement...

+

Chargement...

); } @@ -91,8 +91,12 @@ export default function ClientList({ onEdit, onRefresh }: ClientListProps) { if (clients.length === 0) { return ( - -

Aucun client pour le moment.

+ +

Aucun client pour le moment.

+
+

⚠️ Mode hors ligne

+

L'application admin nécessite une connexion au serveur pour fonctionner. Les API routes ne sont pas disponibles en mode statique.

+
);