From 6db6793b8b44df090d04561eeaeb43be79d0217e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 21 Apr 2020 16:51:04 -0500 Subject: [PATCH] Clean up preferences --- app/gabsocial/features/preferences/index.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/gabsocial/features/preferences/index.js b/app/gabsocial/features/preferences/index.js index 6477ea7a4..7b43be174 100644 --- a/app/gabsocial/features/preferences/index.js +++ b/app/gabsocial/features/preferences/index.js @@ -45,17 +45,6 @@ class Preferences extends ImmutablePureComponent { settings: ImmutablePropTypes.map, }; - constructor(props) { - super(props); - this.state = { isLoading: false }; - } - - getFormData = (form) => { - return Object.fromEntries( - Array.from(form).map(i => [i.name, i.value]) - ); - } - onThemeChange = e => { const { dispatch } = this.props; dispatch(changeSetting(['theme'], e.target.value));