chore: build
Frontend Client - EAS Build / build (push) Canceled after 5s

This commit is contained in:
Xor290
2026-10-03 19:58:38 +02:00
parent da9c858987
commit 9789275be7
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import axios from "axios";
import { getToken, getAdminToken } from "../auth/tokenStorage";
export const API_BASE_URL =
process.env.EXPO_PUBLIC_API_URL ?? "https://uber-demo.club";
process.env.EXPO_PUBLIC_API_URL ?? "https://mln-uber.club";
const apiClient = axios.create({
baseURL: API_BASE_URL,
-2
View File
@@ -220,5 +220,3 @@ export function useCart() {
if (!context) throw new Error("useCart must be used within a CartProvider");
return context;
}
//
@@ -128,6 +128,7 @@ export function NotificationProvider({ children }: { children: ReactNode }) {
}
}, []);
// Polling toutes les 15 secondes
useEffect(() => {
fetchNotifications();
const interval = setInterval(fetchNotifications, 15000);