]> cat aescling's git repositories - mastodon.git/commitdiff
Fix missing key in list timeline policy (#15494)
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Tue, 5 Jan 2021 18:57:50 +0000 (03:57 +0900)
committerGitHub <noreply@github.com>
Tue, 5 Jan 2021 18:57:50 +0000 (19:57 +0100)
app/javascript/mastodon/features/list_timeline/index.js

index 02b01824735342dfe9f30f300bf41f0b51a1769c..8eb6456302bbaf92cfd13be5230467c6cda6826a 100644 (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>
This page took 0.029164 seconds and 3 git commands to generate.