File tree 1 file changed +3
-2
lines changed
src/components/views/settings/tabs/user
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ import SetupEncryptionDialog from "../../../dialogs/security/SetupEncryptionDial
20
20
import { SettingsSection } from "../../shared/SettingsSection" ;
21
21
import { SettingsSubheader } from "../../SettingsSubheader" ;
22
22
import { AdvancedPanel } from "../../encryption/AdvancedPanel" ;
23
- import { ResetIdentityPanel , type ResetIdentityPanelVariant } from "../../encryption/ResetIdentityPanel" ;
23
+ import { ResetIdentityPanel } from "../../encryption/ResetIdentityPanel" ;
24
+ import { type ResetIdentityBodyVariant } from "../../encryption/ResetIdentityBody" ;
24
25
import { RecoveryPanelOutOfSync } from "../../encryption/RecoveryPanelOutOfSync" ;
25
26
import { useTypedEventEmitter } from "../../../../../hooks/useEventEmitter" ;
26
27
import { KeyStoragePanel } from "../../encryption/KeyStoragePanel" ;
@@ -147,7 +148,7 @@ export function EncryptionUserSettingsTab({ initialState = "loading" }: Props):
147
148
* Given what state we want the tab to be in, what variant of the
148
149
* ResetIdentityPanel do we need?
149
150
*/
150
- function findResetVariant ( state : State ) : ResetIdentityPanelVariant {
151
+ function findResetVariant ( state : State ) : ResetIdentityBodyVariant {
151
152
switch ( state ) {
152
153
case "reset_identity_compromised" :
153
154
return "compromised" ;
You can’t perform that action at this time.
0 commit comments