diff --git a/packages/nicolium/src/actions/instance.ts b/packages/nicolium/src/actions/instance.ts index b664e5346..c34659064 100644 --- a/packages/nicolium/src/actions/instance.ts +++ b/packages/nicolium/src/actions/instance.ts @@ -23,8 +23,8 @@ const doFetchInstance = async () => { }; const fetchInstance = async () => { - const { fetched } = useInstanceStore.getState(); - if (fetched) return; + const { fetched, instanceFetchFailed } = useInstanceStore.getState(); + if (fetched || (instanceFetchFailed && !getAuthUserUrl())) return; const promise = doFetchInstance().catch((error) => { useInstanceStore.getState().actions.instanceFetchFailed(error);