diff --git a/src/frontend/src/App.tsx b/src/frontend/src/App.tsx index d126f5fa9..bb010a844 100644 --- a/src/frontend/src/App.tsx +++ b/src/frontend/src/App.tsx @@ -34,6 +34,7 @@ export default function App() { const setSuccessOpen = useAlertStore((state) => state.setSuccessOpen); const loading = useAlertStore((state) => state.loading); const [fetchError, setFetchError] = useState(false); + const isLoading = useFlowsManagerStore((state) => state.isLoading); // Initialize state variable for the list of alerts const [alertsList, setAlertsList] = useState< @@ -170,7 +171,7 @@ export default function App() { description={FETCH_ERROR_DESCRIPION} message={FETCH_ERROR_MESSAGE} > - ) : loading ? ( + ) : isLoading ? (