This commit is contained in:
2025-06-08 12:39:53 +00:00
parent 99f57dba76
commit 3a95ea9f4e
3 changed files with 8 additions and 10 deletions

View File

@ -50,7 +50,7 @@ export const loginStatePart = await appState.getStatePart<ILoginState>(
identity: null,
isLoggedIn: false,
},
'persistent' // Login state persists across sessions
'soft' // Login state persists across sessions
);
export const statsStatePart = await appState.getStatePart<IStatsState>(
@ -73,8 +73,7 @@ export const configStatePart = await appState.getStatePart<IConfigState>(
config: null,
isLoading: false,
error: null,
},
'soft'
}
);
export const uiStatePart = await appState.getStatePart<IUiState>(
@ -86,7 +85,6 @@ export const uiStatePart = await appState.getStatePart<IUiState>(
refreshInterval: 30000, // 30 seconds
theme: 'light',
},
'persistent' // UI preferences persist
);
export const logStatePart = await appState.getStatePart<ILogState>(