mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 04:18:16 +03:00
fix(seedsviewer): still load even if localAPI failed
This commit is contained in:
@@ -18,7 +18,7 @@ export default function SeedsViewer() {
|
||||
|
||||
const { data, error: failedToGetLocalAPI } = useApiQuery<Record<string, never>>("/seeds");
|
||||
|
||||
if (!data) {
|
||||
if (!data && !failedToGetLocalAPI) {
|
||||
return <Loading />;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user