Fix console error
This commit is contained in:
parent
3cda899e72
commit
4dc4290d7f
2 changed files with 4 additions and 3 deletions
|
@ -32,10 +32,10 @@ class RadioPanel extends PureComponent {
|
|||
return (
|
||||
<div className='setting-radio-panel'>
|
||||
{values.map((val) => (
|
||||
<div className={classNames('setting-radio-panel__item', {'setting-radio-panel__item__active': value.get('value') === val.get('value')})}
|
||||
key={val.get('value')} onClick={this.handleChange} data-value={val.get('value')}>
|
||||
<button className={classNames('setting-radio-panel__item', {'setting-radio-panel__item__active': value.get('value') === val.get('value')})}
|
||||
key={val.get('value')} onClick={this.handleChange} data-value={val.get('value')}>
|
||||
{val.get('label')}
|
||||
</div>
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -7512,6 +7512,7 @@ noscript {
|
|||
margin: 16px 0;
|
||||
background: lighten($ui-base-color, 4%);
|
||||
color: $secondary-text-color;
|
||||
border: 0;
|
||||
|
||||
&__active {
|
||||
color: $primary-text-color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue