Remove dead code for !withToggleButton
in ServerConfig
This commit is contained in:
parent
0bee324e48
commit
fa4ad21e0a
4 changed files with 20 additions and 31 deletions
|
@ -547,7 +547,6 @@ module.exports = React.createClass({
|
|||
|
||||
if (!SdkConfig.get()['disable_custom_urls']) {
|
||||
serverConfig = <ServerConfig ref="serverConfig"
|
||||
withToggleButton={true}
|
||||
customHsUrl={this.state.discoveredHsUrl || this.props.customHsUrl}
|
||||
customIsUrl={this.state.discoveredIsUrl || this.props.customIsUrl}
|
||||
defaultHsUrl={this.props.defaultHsUrl}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue