mirror of
https://github.com/pheralb/svgl.git
synced 2024-12-05 05:42:35 +08:00
Merge pull request #405 from 1weiho/fix/fetch-fail-keep-loading
Fix: cancel the loading state after the react component fetch fails
This commit is contained in:
commit
0b1776c00e
@ -113,6 +113,7 @@
|
|||||||
description: `${error ?? ''}`,
|
description: `${error ?? ''}`,
|
||||||
duration: 5000
|
duration: 5000
|
||||||
});
|
});
|
||||||
|
isLoading = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user