diff --git a/src/services/WikiStorageService/index.ts b/src/services/WikiStorageService/index.ts index fac8f83..88ed9c2 100644 --- a/src/services/WikiStorageService/index.ts +++ b/src/services/WikiStorageService/index.ts @@ -26,7 +26,6 @@ import { getFullSaveTiddlers } from './ignoredTiddler'; export class WikiStorageService { readonly #workspace: IWikiWorkspace; readonly #configStore = useConfigStore; - readonly #serverStore = useServerStore; constructor(workspace: IWikiWorkspace) { this.#workspace = workspace; diff --git a/src/store/config.ts b/src/store/config.ts index 0f819bc..6fa2af7 100644 --- a/src/store/config.ts +++ b/src/store/config.ts @@ -19,6 +19,7 @@ export interface ConfigState { tagForSharedContent?: string; theme: ColorSchemeName | 'default'; translucentStatusBar?: boolean; + userName: string; } const defaultConfig: ConfigState = { autoOpenDefaultWiki: undefined, @@ -32,6 +33,7 @@ const defaultConfig: ConfigState = { theme: 'default', translucentStatusBar: true, tagForSharedContent: undefined, + userName: '', }; interface ConfigActions { set: (newConfig: Partial) => void;