Revert "nicolium: idk"

This reverts commit 681b5778ae.
This commit is contained in:
nicole mikołajczyk
2026-03-19 17:09:41 +01:00
parent 681b5778ae
commit eac3bf1899

View File

@ -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);