Skip to content

Commit 250283e

Browse files
committed
Use object keys instead of values to support more browsers.
1 parent 2af96cf commit 250283e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/steps_components/options/OptionsStep.jsx

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

0 commit comments

Comments
 (0)