Browse Source

Fix missing key in list timeline policy (#15494)

main
Takeshi Umeda 1 year ago
committed by GitHub
parent
commit
71f0968887
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/features/list_timeline/index.js

2
app/javascript/mastodon/features/list_timeline/index.js

@ -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>

Loading…
Cancel
Save