about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/home_timeline/components/setting_text.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/features/home_timeline/components/setting_text.js')
-rw-r--r--app/javascript/mastodon/features/home_timeline/components/setting_text.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/home_timeline/components/setting_text.js b/app/javascript/mastodon/features/home_timeline/components/setting_text.js
index a872ae76f..d4f177f8a 100644
--- a/app/javascript/mastodon/features/home_timeline/components/setting_text.js
+++ b/app/javascript/mastodon/features/home_timeline/components/setting_text.js
@@ -8,11 +8,11 @@ class SettingText extends React.PureComponent {
     settings: ImmutablePropTypes.map.isRequired,
     settingKey: PropTypes.array.isRequired,
     label: PropTypes.string.isRequired,
-    onChange: PropTypes.func.isRequired
+    onChange: PropTypes.func.isRequired,
   };
 
   handleChange = (e) => {
-    this.props.onChange(this.props.settingKey, e.target.value)
+    this.props.onChange(this.props.settingKey, e.target.value);
   }
 
   render () {