chore: build
This commit is contained in:
@@ -18,7 +18,6 @@ func (d *Database) CheckAddress(addressByUser *models.Command) error {
|
|||||||
return fmt.Errorf("checkAddress: %w", result.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.
|
// (accents/casse/espaces) pour rattraper les variantes mineures de saisie.
|
||||||
corrections, err := d.AllAddress()
|
corrections, err := d.AllAddress()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ import { useAlert } from "../../hooks/useAlert";
|
|||||||
|
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// Types
|
// Types
|
||||||
// --------------------------------------------------
|
|
||||||
interface UserItem {
|
interface UserItem {
|
||||||
id: number;
|
id: number;
|
||||||
username: string;
|
username: string;
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ interface ProductCardProps {
|
|||||||
category: string;
|
category: string;
|
||||||
prices?: Array<{ quantity: number; price: number; active_price?: boolean }>;
|
prices?: Array<{ quantity: number; price: number; active_price?: boolean }>;
|
||||||
hasVideo?: boolean;
|
hasVideo?: boolean;
|
||||||
videoUrl?: string; // ✨ Nouveau prop pour l'URL de la vidéo
|
videoUrl?: string;
|
||||||
categoryColor?: string;
|
categoryColor?: string;
|
||||||
coming_soon?: boolean;
|
coming_soon?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,7 +128,6 @@ export function NotificationProvider({ children }: { children: ReactNode }) {
|
|||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
// Polling toutes les 15 secondes
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetchNotifications();
|
fetchNotifications();
|
||||||
const interval = setInterval(fetchNotifications, 15000);
|
const interval = setInterval(fetchNotifications, 15000);
|
||||||
|
|||||||
Reference in New Issue
Block a user