Fix missing key in list timeline policy (#15494)
This commit is contained in:
parent
e38874dcf7
commit
71f0968887
|
@ -194,7 +194,7 @@ class ListTimeline extends React.PureComponent {
|
||||||
</span>
|
</span>
|
||||||
<div className='column-settings__row'>
|
<div className='column-settings__row'>
|
||||||
{ ['none', 'list', 'followed'].map(policy => (
|
{ ['none', 'list', 'followed'].map(policy => (
|
||||||
<RadioButton name='order' value={policy} label={intl.formatMessage(messages[policy])} checked={replies_policy === policy} onChange={this.handleRepliesPolicyChange} />
|
<RadioButton name='order' key={policy} value={policy} label={intl.formatMessage(messages[policy])} checked={replies_policy === policy} onChange={this.handleRepliesPolicyChange} />
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in New Issue