Skip to content

Commit 89a356d

Browse files
committed
chore: remove dialog debug auto open
1 parent a4dfbb1 commit 89a356d

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

ts/state/ducks/modalDialog.tsx

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,30 +38,30 @@ export type UserSettingsPage =
3838
export type WithUserSettingsPage =
3939
| { userSettingsPage: Exclude<UserSettingsPage, 'password' | 'pro' | 'proNonOriginating'> }
4040
| {
41-
userSettingsPage: 'password';
42-
passwordAction: PasswordAction;
43-
}
41+
userSettingsPage: 'password';
42+
passwordAction: PasswordAction;
43+
}
4444
| {
45-
userSettingsPage: 'pro';
46-
hideBackButton?: boolean;
47-
hideHelp?: boolean;
48-
centerAlign?: boolean;
49-
}
45+
userSettingsPage: 'pro';
46+
hideBackButton?: boolean;
47+
hideHelp?: boolean;
48+
centerAlign?: boolean;
49+
}
5050
| {
51-
userSettingsPage: 'proNonOriginating';
52-
nonOriginatingVariant: ProNonOriginatingPageVariant;
53-
overrideBackAction?: () => void;
54-
centerAlign?: boolean;
55-
};
51+
userSettingsPage: 'proNonOriginating';
52+
nonOriginatingVariant: ProNonOriginatingPageVariant;
53+
overrideBackAction?: () => void;
54+
centerAlign?: boolean;
55+
};
5656

5757
export type ConfirmModalState = SessionConfirmDialogProps | null;
5858

5959
export type InviteContactModalState = WithConvoId | null;
6060
export type BanOrUnbanUserModalState =
6161
| (WithConvoId & {
62-
banType: BanType;
63-
pubkey?: string;
64-
})
62+
banType: BanType;
63+
pubkey?: string;
64+
})
6565
| null;
6666
export type AddModeratorsModalState = InviteContactModalState;
6767
export type RemoveModeratorsModalState = InviteContactModalState;
@@ -121,9 +121,9 @@ type SettingsPageThatCanBeStandalone = Exclude<ConversationSettingsModalPage, 'd
121121
export type ConversationSettingsPage =
122122
| { settingsModalPage: SettingsPageThatCannotBeStandalone }
123123
| {
124-
settingsModalPage: SettingsPageThatCanBeStandalone;
125-
standalonePage: boolean;
126-
};
124+
settingsModalPage: SettingsPageThatCanBeStandalone;
125+
standalonePage: boolean;
126+
};
127127
export type ConversationSettingsModalState = (WithConvoId & ConversationSettingsPage) | null;
128128

129129
export type ModalId =
@@ -192,7 +192,7 @@ export const initialModalState: ModalState = {
192192
groupMembersModal: null,
193193
userProfileModal: null,
194194
nickNameModal: null,
195-
userSettingsModal: { userSettingsPage: 'pro' },
195+
userSettingsModal: null,
196196
onionPathModal: null,
197197
enterPasswordModal: null,
198198
deleteAccountModal: null,

0 commit comments

Comments
 (0)