Skip to content

Commit

Permalink
ISSUE #4959 - remove invalid prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Amantini1997 committed Jun 12, 2024
1 parent fce7899 commit 9981a37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class Measurements extends PureComponent<IProps, IState> {
.filter(({name}) => name !== MEASURE_ACTIONS_ITEMS.UNITS_DISPLAYED_IN || this.props.modelUnit !== 'ft')
.map(( {name, Icon, label }) => (
<StyledListItem key={name} onClick={this.menuActionsMap[name]}>
<IconWrapper><Icon fontSize="small" /></IconWrapper>
<IconWrapper><Icon /></IconWrapper>
<StyledItemText>
{label}
{(name === MEASURE_ACTIONS_ITEMS.EDGE_SNAPPING && this.props.edgeSnappingEnabled) && <Check fontSize="small" />}
Expand Down

0 comments on commit 9981a37

Please sign in to comment.