Update App.tsx
This commit is contained in:
parent
4bffffa920
commit
e962437c49
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue