Skip to content

Commit

Permalink
Could not find TrustyAI service
Browse files Browse the repository at this point in the history
  • Loading branch information
pnaik1 committed Oct 31, 2023
1 parent 77cf976 commit 0a4002d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const useTrustyAINamespaceCR = (namespace: string): FetchState<State> => {
const resourceLoaded = state[1] && !!state[0];
const hasStatus = taiLoaded(state);
React.useEffect(() => {
setIsStarting(resourceLoaded && !hasStatus);
setIsStarting(!resourceLoaded && !hasStatus);
}, [hasStatus, resourceLoaded]);

return state;
Expand Down

0 comments on commit 0a4002d

Please sign in to comment.