Fix missing key in list timeline policy (#15494)

lolsob-rspec
Takeshi Umeda 2021-01-06 03:57:50 +09:00 committed by GitHub
parent ccb7aa93c7
commit 7e9a91ae63
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class ListTimeline extends React.PureComponent {
</span>
<div className='column-settings__row'>
{ ['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>