Skip to content

Commit

Permalink
fix: mis delete userName: string;
Browse files Browse the repository at this point in the history
  • Loading branch information
linonetwo committed Dec 1, 2024
1 parent 4d04105 commit 5662059
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/services/WikiStorageService/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/store/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface ConfigState {
tagForSharedContent?: string;
theme: ColorSchemeName | 'default';
translucentStatusBar?: boolean;
userName: string;
}
const defaultConfig: ConfigState = {
autoOpenDefaultWiki: undefined,
Expand All @@ -32,6 +33,7 @@ const defaultConfig: ConfigState = {
theme: 'default',
translucentStatusBar: true,
tagForSharedContent: undefined,
userName: '',
};
interface ConfigActions {
set: (newConfig: Partial<ConfigState>) => void;
Expand Down

0 comments on commit 5662059

Please sign in to comment.