Remove unused import and update timer duration

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-02 01:19:16 -03:00
commit d4cad81302

View file

@ -18,7 +18,6 @@ import { getHealth } from "./controllers/API";
import Router from "./routes"; import Router from "./routes";
import useAlertStore from "./stores/alertStore"; import useAlertStore from "./stores/alertStore";
import { useDarkStore } from "./stores/darkStore"; import { useDarkStore } from "./stores/darkStore";
import useFlowStore from "./stores/flowStore";
import useFlowsManagerStore from "./stores/flowsManagerStore"; import useFlowsManagerStore from "./stores/flowsManagerStore";
import { useStoreStore } from "./stores/storeStore"; import { useStoreStore } from "./stores/storeStore";
import { useTypesStore } from "./stores/typesStore"; import { useTypesStore } from "./stores/typesStore";
@ -70,7 +69,7 @@ export default function App() {
.catch(() => { .catch(() => {
setFetchError(true); setFetchError(true);
}); });
}, 20000); }, 20000); // 20 seconds
// Clean up the timer on component unmount // Clean up the timer on component unmount
return () => { return () => {