Clean up preferences

This commit is contained in:
Alex Gleason 2020-04-21 16:51:04 -05:00
parent aa47b35503
commit 6db6793b8b
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

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