load last session after initial config load
This commit is contained in:
parent
16c10d7917
commit
f35474bec1
1 changed files with 1 additions and 4 deletions
|
|
@ -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 <></>;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue