Skip to content

Commit 19a4030

Browse files
committed
Shorthand return
1 parent 250283e commit 19a4030

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/steps_components/options/OptionsStep.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ class OptionsStep extends Component {
3838
return (
3939
<OptionsStepContainer className="rsc-os">
4040
<Options className="rsc-os-options">
41-
{Object.keys(options).map(key => {
42-
return options[key];
43-
}).map(this.renderOption)}
41+
{Object.keys(options).map(key => options[key]).map(this.renderOption)}
4442
</Options>
4543
</OptionsStepContainer>
4644
);

0 commit comments

Comments
 (0)