Update App.tsx

This commit is contained in:
nguyentrungthat 2026-02-09 14:09:51 +07:00
parent 4bffffa920
commit e962437c49
1 changed files with 2 additions and 2 deletions

View File

@ -233,8 +233,8 @@ function App() {
useEffect(() => { useEffect(() => {
setTimeout(() => { setTimeout(() => {
setIsLoading(false); setIsLoading(false);
}, 3000); }, 2000);
}, [socket]); }, []);
useEffect(() => { useEffect(() => {
if (!socket || !stations?.length) return; if (!socket || !stations?.length) return;