fix: disable unimplemented prefs sections

This commit is contained in:
Mo Bitar
2021-10-21 14:48:34 -05:00
parent 8d9b192b81
commit 7434a870bd
2 changed files with 9 additions and 9 deletions

View File

@@ -3,7 +3,7 @@ import { action, computed, makeObservable, observable } from 'mobx';
export class PreferencesState {
private _open = false;
currentPane: PreferenceId = 'general';
currentPane: PreferenceId = 'account';
constructor() {
makeObservable<PreferencesState, '_open'>(this, {
@@ -26,7 +26,7 @@ export class PreferencesState {
closePreferences = (): void => {
this._open = false;
this.currentPane = 'general';
this.currentPane = 'account';
};
get isOpen() {