diff --git a/app/soapbox/features/configuration/index.js b/app/soapbox/features/configuration/index.js
index b377ca2b1..d7b16e3e4 100644
--- a/app/soapbox/features/configuration/index.js
+++ b/app/soapbox/features/configuration/index.js
@@ -77,6 +77,8 @@ class ConfigSoapbox extends ImmutablePureComponent {
promoItems: props.promoItems,
homeFooterItems: props.homeFooterItems,
customCssItems: props.customCssItems,
+ patronEnabled: false,
+ autoPlayGif: false,
};
if (!this.state.logo) {
this.state.logo = '';
@@ -298,14 +300,14 @@ class ConfigSoapbox extends ImmutablePureComponent {
label={}
hint={}
name='patronEnabled'
- checked={this.state.patronEnabled ? this.state.patronEnabled : this.props.patronEnabled}
+ checked={this.state.patronEnabled ? this.state.patronEnabled : this.props.patronEnabled || false}
onChange={this.handleCheckboxChange}
/>
}
hint={}
name='autoPlayGif'
- checked={this.state.autoPlayGif ? this.state.autoPlayGif : this.props.autoPlayGif}
+ checked={this.state.autoPlayGif ? this.state.autoPlayGif : this.props.autoPlayGif || false}
onChange={this.handleCheckboxChange}
/>