fix: doc string comments for registration slice

pull/3056/head
William Grant 1 year ago
parent 53dbfcca34
commit 7d14efb073

@ -4,8 +4,6 @@ import { updateTermsOfServicePrivacyModal } from '../../state/onboarding/ducks/m
import { SessionHtmlRenderer } from '../basic/SessionHTMLRenderer';
const StyledTermsAndConditions = styled.div`
padding-top: var(--margins-md);
color: var(--text-secondary-color);
text-align: center;
font-size: 12px;

@ -1,37 +1,37 @@
import { PayloadAction, createSlice } from '@reduxjs/toolkit';
export enum Onboarding {
/* starting screen */
/** starting screen */
Start,
/* uses AccountCreation internally */
/** uses AccountCreation internally */
CreateAccount,
/* uses AccountRestoration internally */
/** uses AccountRestoration internally */
RestoreAccount,
}
export enum AccountCreation {
/* TODO to be removed - current starting screen */
/** TODO to be removed - current starting screen */
Start,
/* TODO to be removed */
/** TODO to be removed */
SessionIDShown,
/* starting screen */
/** starting screen */
DisplayName,
/* show conversation screen */
/** show conversation screen */
Complete,
}
export enum AccountRestoration {
/* TODO to be removed - current starting screen */
/** TODO to be removed - current starting screen */
Start,
/* starting screen */
/** starting screen */
RecoveryPassword,
/* fetching account details */
/** fetching account details */
Loading,
/* we failed to fetch a display name in time so we choose a new one */
/** we failed to fetch a display name in time so we choose a new one */
DisplayName,
/* show conversation screen */
/** show conversation screen */
Complete,
/* TODO to be removed */
/** TODO to be removed */
LinkDevice,
}

Loading…
Cancel
Save