We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca91156 commit 318f860Copy full SHA for 318f860
packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/index.js
@@ -66,16 +66,6 @@ export default class DimensionSwitcher extends PureComponent {
66
loadingPresets: {}
67
};
68
69
- componentDidMount() {
70
- const activePresets = mapValues(
71
- this.props.activePresets,
72
- dimensionPreset => dimensionPreset.name
73
- );
74
- this.setState({
75
- transientPresets: activePresets
76
- });
77
- }
78
-
79
getDimensionIcon = (dimensionName, contentDimensionsObject) => {
80
const dimensionConfiguration = contentDimensionsObject[dimensionName];
81
return dimensionConfiguration?.icon || null;
0 commit comments