diff --git a/frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts b/frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts index 1ac2d83a15..728e722d7c 100644 --- a/frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts +++ b/frontend/src/concepts/explainability/useTrustyAINamespaceCR.ts @@ -61,7 +61,7 @@ const useTrustyAINamespaceCR = (namespace: string): FetchState => { const resourceLoaded = state[1] && !!state[0]; const hasStatus = taiLoaded(state); React.useEffect(() => { - setIsStarting(resourceLoaded && !hasStatus); + setIsStarting(!resourceLoaded && !hasStatus); }, [hasStatus, resourceLoaded]); return state;