diff --git a/js/components/settings_container.js b/js/components/settings_container.js index 87d61a0d..5308c732 100644 --- a/js/components/settings_container.js +++ b/js/components/settings_container.js @@ -131,6 +131,10 @@ let AccountSettings = React.createClass({ let BitcoinWalletSettings = React.createClass({ + propTypes: { + defaultExpanded: React.PropTypes.bool + }, + getInitialState() { return WalletSettingsStore.getState(); }, @@ -172,7 +176,7 @@ let BitcoinWalletSettings = React.createClass({ + defaultExpanded={this.props.defaultExpanded}> {content} ); @@ -180,6 +184,9 @@ let BitcoinWalletSettings = React.createClass({ }); let LoanContractSettings = React.createClass({ + propTypes: { + defaultExpanded: React.PropTypes.bool + }, render() { @@ -187,7 +194,7 @@ let LoanContractSettings = React.createClass({ + defaultExpanded={this.props.defaultExpanded}> ); @@ -249,6 +256,10 @@ let FileUploader = React.createClass({ }); let APISettings = React.createClass({ + propTypes: { + defaultExpanded: React.PropTypes.bool + }, + getInitialState() { return ApplicationStore.getState(); }, @@ -312,7 +323,7 @@ let APISettings = React.createClass({ + defaultExpanded={this.props.defaultExpanded}>