Remove unused OfflineIndicator, OfflineSyncDetails, and OfflineSyncManager components

- Deleted obsolete offline-related components as they are no longer in use.
- Simplified imports and removed related context dependencies.
- Updated synchronization and toggle switch handling in `CharacterComponent`, `WorldSetting`, and `LocationComponent` to improve consistency.
This commit is contained in:
natreex
2026-01-15 19:26:09 -05:00
parent 2e6b30c632
commit da03f221ae
9 changed files with 68 additions and 608 deletions

View File

@@ -93,13 +93,13 @@ function GuideLineSetting(props: any, ref: any) {
}
}
if (response) {
setPlotSummary(response.globalResume);
setPlotSummary(response.globalResume || '');
setVerbTense(response.verbeTense?.toString() || '');
setNarrativeType(response.narrativeType?.toString() || '');
setDialogueType(response.dialogueType?.toString() || '');
setToneAtmosphere(response.atmosphere);
setToneAtmosphere(response.atmosphere || '');
setLanguage(response.langue?.toString() || '');
setThemes(response.themes);
setThemes(response.themes || '');
}
} catch (e: unknown) {
if (e instanceof Error) {