You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
Remove the signup iframe link text from the ProfileSettings.js
This commit is contained in:
@@ -23,7 +23,6 @@ import * as sdk from "../../../index";
|
||||
import {OwnProfileStore} from "../../../stores/OwnProfileStore";
|
||||
import Modal from "../../../Modal";
|
||||
import ErrorDialog from "../dialogs/ErrorDialog";
|
||||
import SdkConfig from "../../../SdkConfig";
|
||||
|
||||
export default class ProfileSettings extends React.Component {
|
||||
constructor() {
|
||||
@@ -152,13 +151,6 @@ export default class ProfileSettings extends React.Component {
|
||||
</a>
|
||||
</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 AvatarSetting = sdk.getComponent('settings.AvatarSetting');
|
||||
@@ -183,7 +175,6 @@ export default class ProfileSettings extends React.Component {
|
||||
<p>
|
||||
{this.state.userId}
|
||||
{hostingSignup}
|
||||
{hostingIFrame}
|
||||
</p>
|
||||
</div>
|
||||
<AvatarSetting
|
||||
|
||||
Reference in New Issue
Block a user