From 4fbed720e84732a45126f57da9392b4adbc282b3 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Thu, 10 Sep 2026 19:44:23 +0200 Subject: [PATCH] chore: build --- backend/gestion/db/db_address.go | 1 - frontend-admin/src/screens/admin/UsersScreen.tsx | 1 - frontend-prep/src/components/ProductCard.tsx | 2 +- mobile/src/context/NotificationContext.tsx | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/gestion/db/db_address.go b/backend/gestion/db/db_address.go index 26324967..bb90c0fe 100644 --- a/backend/gestion/db/db_address.go +++ b/backend/gestion/db/db_address.go @@ -18,7 +18,6 @@ func (d *Database) CheckAddress(addressByUser *models.Command) error { return fmt.Errorf("checkAddress: %w", result.Error) } - // Pas de correspondance exacte — fallback sur une comparaison normalisée // (accents/casse/espaces) pour rattraper les variantes mineures de saisie. corrections, err := d.AllAddress() if err != nil { diff --git a/frontend-admin/src/screens/admin/UsersScreen.tsx b/frontend-admin/src/screens/admin/UsersScreen.tsx index f753a4a7..678ccfcc 100644 --- a/frontend-admin/src/screens/admin/UsersScreen.tsx +++ b/frontend-admin/src/screens/admin/UsersScreen.tsx @@ -48,7 +48,6 @@ import { useAlert } from "../../hooks/useAlert"; // -------------------------------------------------- // Types -// -------------------------------------------------- interface UserItem { id: number; username: string; diff --git a/frontend-prep/src/components/ProductCard.tsx b/frontend-prep/src/components/ProductCard.tsx index 12fdbdd8..09ed2843 100644 --- a/frontend-prep/src/components/ProductCard.tsx +++ b/frontend-prep/src/components/ProductCard.tsx @@ -30,7 +30,7 @@ interface ProductCardProps { category: string; prices?: Array<{ quantity: number; price: number; active_price?: boolean }>; hasVideo?: boolean; - videoUrl?: string; // ✨ Nouveau prop pour l'URL de la vidéo + videoUrl?: string; categoryColor?: string; coming_soon?: boolean; } diff --git a/mobile/src/context/NotificationContext.tsx b/mobile/src/context/NotificationContext.tsx index a9187ccc..e3f6e167 100644 --- a/mobile/src/context/NotificationContext.tsx +++ b/mobile/src/context/NotificationContext.tsx @@ -128,7 +128,6 @@ export function NotificationProvider({ children }: { children: ReactNode }) { } }, []); - // Polling toutes les 15 secondes useEffect(() => { fetchNotifications(); const interval = setInterval(fetchNotifications, 15000);