Skip to content

Commit

Permalink
Remove unused props
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed May 27, 2024
1 parent 5588fea commit cec409f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/client/src/pages/settings/editorSettings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class EditorSettings extends React.Component {
return false;
}
handleButtonSelected(name, isSelected) {
let selectedData = null;
let selectedData;
if (name === "location" && isSelected) {
selectedData = locationEditorData;
} else if (name === "borehole" && isSelected) {
Expand All @@ -129,7 +129,6 @@ class EditorSettings extends React.Component {
const {
addExplorerMap,
rmExplorerMap,
t,
setting,
i18n,
toggleFilter,
Expand All @@ -148,8 +147,6 @@ class EditorSettings extends React.Component {
i18n={i18n}
rmExplorerMap={rmExplorerMap}
addExplorerMap={addExplorerMap}
toggleFilter={toggleFilter}
t={t}
handleAddItem={value => {
this.setState(
{
Expand Down

0 comments on commit cec409f

Please sign in to comment.