From 45196b07304b808dc82a011681b49202f43c9174 Mon Sep 17 00:00:00 2001 From: jlu18 Date: Thu, 13 Jan 2022 13:35:11 -0500 Subject: [PATCH] Remove unused constants, commented function in sceneconfigMenu.js --- src/components/structural/header/SceneConfigMenu.js | 4 ---- src/constants/ActionTypes.js | 6 ------ 2 files changed, 10 deletions(-) diff --git a/src/components/structural/header/SceneConfigMenu.js b/src/components/structural/header/SceneConfigMenu.js index bad13fc9..1eed61c3 100644 --- a/src/components/structural/header/SceneConfigMenu.js +++ b/src/components/structural/header/SceneConfigMenu.js @@ -128,10 +128,6 @@ class ConfigModal extends Component { }); }; - // handleClick = event => { - // this.setState({ anchorEl: event.currentTarget, projectId: event.currentTarget.id }); - // }; - /** * Handles when the text change in the textfield. Use in mail share and collection * @param {string} name Place where it saved in state diff --git a/src/constants/ActionTypes.js b/src/constants/ActionTypes.js index 21295825..1068b382 100644 --- a/src/constants/ActionTypes.js +++ b/src/constants/ActionTypes.js @@ -13,16 +13,10 @@ export const EDITOR_RECOVER = "EDITOR_RECOVER"; export const EDITOR_CHANGE = "EDITOR_CHANGE"; export const EDITOR_UPDATE_SAVEDTEXT = "EDITOR_UPDATE_SAVEDTEXT"; export const SAVE_START = "SAVE_START"; -//unused constant -export const SAVE_FIN = "SAVE_FIN"; -export const REQ_RELOAD = "REQ_RELOAD"; export const SYNC_USER_PROJ = "SYNC_USER_PROJ"; export const SYNC_EXAMP_PROJ = "SYNC_EXAMP_PROJ"; export const DELETE_PROJ = "DELETE_PROJ"; -//unused constant -export const ASYNC_USER_PROJ = "ASYNC_USER_PROJ"; -export const ASYNC_EXAMP_PROJ = "ASYNC_EXAMP_PROJ"; export const NAME_SCENE = "NAME_SCENE"; export const NEW_SCENE = "NEW_SCENE";