We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d692e36 commit 756e30bCopy full SHA for 756e30b
index.js
@@ -356,7 +356,9 @@ export default class ModalSelector extends React.Component {
356
if (this.props.children) {
357
return this.props.children;
358
}
359
- let initSelectStyle = this.state.selected.find(this.state.initValue)
+ let initSelectStyle = this.state.selected.find(
360
+ v => v === this.state.initValue
361
+ )
362
? [styles.initValueTextStyle, this.props.initValueTextStyle]
363
: [styles.selectTextStyle, this.props.selectTextStyle];
364
return (
0 commit comments