nicolium: idk

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-19 16:52:29 +01:00
parent fa072aaa84
commit 681b5778ae

View File

@ -23,8 +23,8 @@ const doFetchInstance = async () => {
};
const fetchInstance = async () => {
const { fetched, instanceFetchFailed } = useInstanceStore.getState();
if (fetched || (instanceFetchFailed && !getAuthUserUrl())) return;
const { fetched } = useInstanceStore.getState();
if (fetched) return;
const promise = doFetchInstance().catch((error) => {
useInstanceStore.getState().actions.instanceFetchFailed(error);