From 0bc19841ad031ff98ec159bf0ee87ccf6d4f8084 Mon Sep 17 00:00:00 2001 From: zkldi <20380519+zkldi@users.noreply.github.com> Date: Mon, 3 Oct 2022 21:36:11 +0100 Subject: [PATCH] fix(seedsviewer): still load even if localAPI failed --- client/src/app/pages/dashboard/utils/SeedsViewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/app/pages/dashboard/utils/SeedsViewer.tsx b/client/src/app/pages/dashboard/utils/SeedsViewer.tsx index cc2435703..9b52362a1 100644 --- a/client/src/app/pages/dashboard/utils/SeedsViewer.tsx +++ b/client/src/app/pages/dashboard/utils/SeedsViewer.tsx @@ -18,7 +18,7 @@ export default function SeedsViewer() { const { data, error: failedToGetLocalAPI } = useApiQuery>("/seeds"); - if (!data) { + if (!data && !failedToGetLocalAPI) { return ; }