diff --git a/src/frontend/src/stores/typesStore.ts b/src/frontend/src/stores/typesStore.ts index 808a5d646..142118f44 100644 --- a/src/frontend/src/stores/typesStore.ts +++ b/src/frontend/src/stores/typesStore.ts @@ -29,6 +29,7 @@ export const useTypesStore = create((set, get) => ({ .catch((error) => { console.error("An error has occurred while fetching types."); console.log(error); + setLoading(false); reject(); }); });