about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2021-01-06 03:57:50 +0900
committerGitHub <noreply@github.com>2021-01-05 19:57:50 +0100
commit71f09688878241f0a47fd637047afbf0148f0abf (patch)
treec4fb324ca13b2eb164c3285b28fcc6cae33a05a6 /app
parente38874dcf7b0fca0f9934fcd0e12bba457c7c212 (diff)
Fix missing key in list timeline policy (#15494)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/list_timeline/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/list_timeline/index.js b/app/javascript/mastodon/features/list_timeline/index.js
index 02b018247..8eb645630 100644
--- a/app/javascript/mastodon/features/list_timeline/index.js
+++ b/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>