zy-asrs-flow/src/pages/map/drawer/shuttle/view.jsx
@@ -59,11 +59,14 @@ setLoading(false); } fetchShuttleInfo(data.no); }, [data]); useEffect(() => { console.log(info); }, [info]) const timer = setInterval(() => { fetchShuttleInfo(data.no); }, 1000); return () => { clearInterval(timer); } }, [data]); return ( <>