From 5c0ca4f6e7f8627e54e24ef09c96d4f0c343f66c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20G=C3=BCnther?= Date: Thu, 30 Mar 2023 12:50:31 +0200 Subject: [PATCH] BUGFIX: Resolve linting issues --- .../Containers/PrimaryToolbar/DimensionSwitcher/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/index.js b/packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/index.js index 6d3aafc99e..10753bbd41 100644 --- a/packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/index.js +++ b/packages/neos-ui/src/Containers/PrimaryToolbar/DimensionSwitcher/index.js @@ -155,7 +155,8 @@ export default class DimensionSwitcher extends PureComponent { const icon = $get('icon', dimensionConfiguration) && $get('icon', dimensionConfiguration); // First look for active preset in transient state, else take it from activePresets prop const activePreset = this.getEffectivePresets(this.state.transientPresets)[dimensionName]; - return ( { const dimensionConfiguration = contentDimensionsObject[dimensionName]; const icon = $get('icon', dimensionConfiguration) && $get('icon', dimensionConfiguration); - return (