From f35474bec116c2defa040fbac60d4caffba5afcc Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Thu, 9 Oct 2025 12:00:19 +0530 Subject: [PATCH] load last session after initial config load --- gui/src/hooks/ParallelListeners.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gui/src/hooks/ParallelListeners.tsx b/gui/src/hooks/ParallelListeners.tsx index 2d3413327..e0a2dcf37 100644 --- a/gui/src/hooks/ParallelListeners.tsx +++ b/gui/src/hooks/ParallelListeners.tsx @@ -107,6 +107,7 @@ function ParallelListeners() { await handleConfigUpdate(true, result.content); } dispatch(setConfigLoading(false)); + await dispatch(loadLastSession()); } void initialLoadConfig(); const interval = setInterval(() => { @@ -243,10 +244,6 @@ function ParallelListeners() { migrateLocalStorage(dispatch); }, []); - useEffect(() => { - void dispatch(loadLastSession()); - }, []); - return <>; }