[Feature] Implement Self-Serve Account Deletion

This commit is contained in:
Amruth Pillai
2023-01-19 00:11:15 +01:00
parent 5024c19f87
commit ff101dbfac
14 changed files with 235 additions and 14 deletions

View File

@ -39,7 +39,7 @@ export const buildSlice = createSlice({
name: 'build',
initialState,
reducers: {
setTheme: (state, action: PayloadAction<SetThemePayload>) => {
setTheme: (state: BuildState, action: PayloadAction<SetThemePayload>) => {
const { theme } = action.payload;
state.theme = theme;

View File

@ -5,6 +5,7 @@ export type ModalName =
| 'auth.register'
| 'auth.forgot'
| 'auth.reset'
| 'auth.profile'
| 'dashboard.create-resume'
| 'dashboard.import-external'
| 'dashboard.rename-resume'
@ -24,6 +25,7 @@ const initialState: Record<ModalName, ModalState> = {
'auth.register': { open: false },
'auth.forgot': { open: false },
'auth.reset': { open: false },
'auth.profile': { open: false },
'dashboard.create-resume': { open: false },
'dashboard.import-external': { open: false },
'dashboard.rename-resume': { open: false },