Remove dead code for !withToggleButton in ServerConfig

This commit is contained in:
J. Ryan Stinnett 2019-01-24 15:07:49 -06:00
parent 0bee324e48
commit fa4ad21e0a
4 changed files with 20 additions and 31 deletions

View file

@ -211,7 +211,6 @@ module.exports = React.createClass({
if (!SdkConfig.get()['disable_custom_urls']) {
serverConfigSection = (
<ServerConfig ref="serverConfig"
withToggleButton={true}
defaultHsUrl={this.props.defaultHsUrl}
defaultIsUrl={this.props.defaultIsUrl}
customHsUrl={this.props.customHsUrl}