diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index ec19331bd..50e40ecb0 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -508,6 +508,5 @@
"reactionPopupMany": "$name$, $name2$, $name3$ &",
"reactionListCountSingular": "And $otherSingular$ has reacted $emoji$ to this message",
"reactionListCountPlural": "And $otherPlural$ have reacted $emoji$ to this message",
- "setDisplayPicture": "Set Display Picture",
- "upload": "Upload"
+ "setDisplayPicture": "Set Display Picture"
}
diff --git a/ts/state/ducks/modalDialog.tsx b/ts/state/ducks/modalDialog.tsx
index 8cd86097a..27007b962 100644
--- a/ts/state/ducks/modalDialog.tsx
+++ b/ts/state/ducks/modalDialog.tsx
@@ -55,7 +55,7 @@ export type ModalState = {
deleteAccountModal: DeleteAccountModalState;
reactListModalState: ReactModalsState;
reactClearAllModalState: ReactModalsState;
- displayPictureModalState: EditProfilePictureModalState;
+ editProfilePictureModalState: EditProfilePictureModalState;
};
export const initialModalState: ModalState = {
@@ -76,7 +76,7 @@ export const initialModalState: ModalState = {
deleteAccountModal: null,
reactListModalState: null,
reactClearAllModalState: null,
- displayPictureModalState: null,
+ editProfilePictureModalState: null,
};
const ModalSlice = createSlice({
@@ -135,7 +135,7 @@ const ModalSlice = createSlice({
return { ...state, reactClearAllModalState: action.payload };
},
updateEditProfilePictureModel(state, action: PayloadAction) {
- return { ...state, displayPictureModalState: action.payload };
+ return { ...state, editProfilePictureModalState: action.payload };
},
},
});
diff --git a/ts/state/selectors/modal.ts b/ts/state/selectors/modal.ts
index e2ccd6e52..259aad8b5 100644
--- a/ts/state/selectors/modal.ts
+++ b/ts/state/selectors/modal.ts
@@ -113,5 +113,5 @@ export const getReactClearAllDialog = createSelector(
export const getEditProfilePictureModalState = createSelector(
getModal,
- (state: ModalState): EditProfilePictureModalState => state.displayPictureModalState
+ (state: ModalState): EditProfilePictureModalState => state.editProfilePictureModalState
);