From 2656666d2e0d240e937f57a8dcd7d89b8dc29fb8 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Thu, 16 Oct 2025 21:56:54 +0200 Subject: [PATCH] Move request to correct component --- src/App.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 5744851b..67f91c77 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -103,6 +103,9 @@ const ScrollToTop = () => { }; const InitialBackgroundRequests = () => { + // Load the full download status once on startup to fill the cache + requestManager.useGetDownloadStatus({ nextFetchPolicy: 'standby' }); + const [fetchExtensionList] = requestManager.useExtensionListFetch(); useEffect(() => { @@ -123,8 +126,6 @@ const InitialBackgroundRequests = () => { const BackgroundSubscriptions = () => { const skipConnection = !AuthManager.useIsAuthenticated(); - // Load the full download status once on startup to fill the cache - requestManager.useGetDownloadStatus({ nextFetchPolicy: 'standby' }); requestManager.useDownloadSubscription({ skip: skipConnection }); requestManager.useUpdaterSubscription({ skip: skipConnection }); requestManager.useWebUIUpdateSubscription({ skip: skipConnection });