Skip to content

Commit

Permalink
BUGFIX: Resolve linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
markusguenther committed Mar 30, 2023
1 parent 448ca3d commit 5c0ca4f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<DimensionSelector
return (
<DimensionSelector
isLoading={this.state.loadingPresets[dimensionName]}
key={dimensionName}
dimensionName={dimensionName}
Expand Down Expand Up @@ -199,7 +200,8 @@ export default class DimensionSwitcher extends PureComponent {
{contentDimensionsObjectKeys.map(dimensionName => {
const dimensionConfiguration = contentDimensionsObject[dimensionName];
const icon = $get('icon', dimensionConfiguration) && $get('icon', dimensionConfiguration);
return (<SelectedPreset
return (
<SelectedPreset
key={dimensionName}
dimensionName={dimensionName}
icon={icon}
Expand Down

0 comments on commit 5c0ca4f

Please sign in to comment.