diff --git a/src/frontend/src/components/createnewproject/MapControlComponent.tsx b/src/frontend/src/components/createnewproject/MapControlComponent.tsx
index ec1387133d..93917ab5a5 100644
--- a/src/frontend/src/components/createnewproject/MapControlComponent.tsx
+++ b/src/frontend/src/components/createnewproject/MapControlComponent.tsx
@@ -27,10 +27,6 @@ const MapControlComponent = ({ map, hasEditUndo }) => {
/>
),
},
- {
- id: 'Undo',
- icon: ,
- },
];
const handleOnClick = (btnId) => {
@@ -42,7 +38,6 @@ const MapControlComponent = ({ map, hasEditUndo }) => {
map.getView().setZoom(actualZoom - 1);
} else if (btnId === 'Edit') {
dispatch(CreateProjectActions.SetToggleSplittedGeojsonEdit(!toggleSplittedGeojsonEdit));
- } else if (btnId === 'Undo') {
}
};
@@ -51,9 +46,7 @@ const MapControlComponent = ({ map, hasEditUndo }) => {
{btnList.map((btn) => {
return (
- {((btn.id !== 'Edit' && btn.id !== 'Undo') ||
- (btn.id === 'Edit' && hasEditUndo) ||
- (btn.id === 'Undo' && hasEditUndo)) && (
+ {((btn.id !== 'Edit' && btn.id !== 'Undo') || (btn.id === 'Edit' && hasEditUndo)) && (