From dc549a9e4b08c15c7eb1a02803b27473aa798b8c Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Tue, 9 Feb 2021 22:41:40 +0200 Subject: [PATCH] Address some more pr feedback --- .../views/dialogs/HostSignupDialog.tsx | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/src/components/views/dialogs/HostSignupDialog.tsx b/src/components/views/dialogs/HostSignupDialog.tsx index 3d22f4938a..f1731fef84 100644 --- a/src/components/views/dialogs/HostSignupDialog.tsx +++ b/src/components/views/dialogs/HostSignupDialog.tsx @@ -20,10 +20,11 @@ import Modal from "../../../Modal"; import PersistedElement from "../elements/PersistedElement"; import QuestionDialog from './QuestionDialog'; import SdkConfig from "../../../SdkConfig"; -import {_t} from "../../../languageHandler"; -import {MatrixClientPeg} from "../../../MatrixClientPeg"; -import {HostSignupStore} from "../../../stores/HostSignupStore"; -import {OwnProfileStore} from "../../../stores/OwnProfileStore"; +import classNames from "classnames"; +import { _t } from "../../../languageHandler"; +import { MatrixClientPeg } from "../../../MatrixClientPeg"; +import { HostSignupStore } from "../../../stores/HostSignupStore"; +import { OwnProfileStore } from "../../../stores/OwnProfileStore"; import { IHostSignupConfig, IPostmessage, @@ -31,6 +32,8 @@ import { PostmessageAction, } from "./HostSignupDialogTypes"; +const HOST_SIGNUP_KEY = "host_signup"; + interface IProps {} interface IState { @@ -141,6 +144,7 @@ export default class HostSignupDialog extends React.PureComponent - -
-
+ +
+
{this.state.minimized &&