chore(maps): update animation marker when sos_alarm

This commit is contained in:
Tran Anh Tuan
2025-09-30 14:04:02 +07:00
parent b44f1a9b29
commit 076d0460cb
8 changed files with 242 additions and 124 deletions

View File

@@ -10,7 +10,7 @@ export default function useGetGpsModel() {
const res = await getGPS(); // đổi URL cho phù hợp
console.log('GPS Data fetched:', res);
setGpsData(res || []);
setGpsData(res);
} catch (err) {
console.error('Fetch gps data failed', err);
} finally {