Remove the signup iframe link text from the ProfileSettings.js

pull/21833/head
Jason Robinson 2020-11-24 20:59:21 +02:00
parent bdab1faf16
commit d089eb720f
1 changed files with 0 additions and 9 deletions

View File

@ -23,7 +23,6 @@ import * as sdk from "../../../index";
import {OwnProfileStore} from "../../../stores/OwnProfileStore"; import {OwnProfileStore} from "../../../stores/OwnProfileStore";
import Modal from "../../../Modal"; import Modal from "../../../Modal";
import ErrorDialog from "../dialogs/ErrorDialog"; import ErrorDialog from "../dialogs/ErrorDialog";
import SdkConfig from "../../../SdkConfig";
export default class ProfileSettings extends React.Component { export default class ProfileSettings extends React.Component {
constructor() { constructor() {
@ -152,13 +151,6 @@ export default class ProfileSettings extends React.Component {
</a> </a>
</span>; </span>;
} }
const hostingSignupIFrame = SdkConfig.get().hosting_signup_iframe;
let hostingIFrame;
if (hostingSignupIFrame) {
hostingIFrame = <span className="mx_ProfileSettings_hostingIFrame">
Get your own personal Element!
</span>;
}
const AccessibleButton = sdk.getComponent('elements.AccessibleButton'); const AccessibleButton = sdk.getComponent('elements.AccessibleButton');
const AvatarSetting = sdk.getComponent('settings.AvatarSetting'); const AvatarSetting = sdk.getComponent('settings.AvatarSetting');
@ -183,7 +175,6 @@ export default class ProfileSettings extends React.Component {
<p> <p>
{this.state.userId} {this.state.userId}
{hostingSignup} {hostingSignup}
{hostingIFrame}
</p> </p>
</div> </div>
<AvatarSetting <AvatarSetting