From 2197c1e519f75dcdf243b0e2cb18651e9438cef5 Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Tue, 9 Feb 2021 20:13:49 +0200 Subject: [PATCH] Address some of the PR feedback --- src/components/structures/HostSignupAction.tsx | 4 ++-- src/components/views/dialogs/HostSignupDialog.tsx | 10 ++++++---- .../views/host_signup/HostSignupContainer.tsx | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/components/structures/HostSignupAction.tsx b/src/components/structures/HostSignupAction.tsx index 3044cab7d3..1c31c9d721 100644 --- a/src/components/structures/HostSignupAction.tsx +++ b/src/components/structures/HostSignupAction.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import * as React from "react"; +import React from "react"; import { IconizedContextMenuOption, IconizedContextMenuOptionList, @@ -36,7 +36,7 @@ export default class HostSignupAction extends React.PureComponent diff --git a/src/components/views/dialogs/HostSignupDialog.tsx b/src/components/views/dialogs/HostSignupDialog.tsx index f52d6442ac..3d22f4938a 100644 --- a/src/components/views/dialogs/HostSignupDialog.tsx +++ b/src/components/views/dialogs/HostSignupDialog.tsx @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import * as React from "react"; +import React from "react"; import AccessibleButton from "../elements/AccessibleButton"; import Modal from "../../../Modal"; import PersistedElement from "../elements/PersistedElement"; @@ -119,7 +119,7 @@ export default class HostSignupDialog extends React.PureComponent diff --git a/src/components/views/host_signup/HostSignupContainer.tsx b/src/components/views/host_signup/HostSignupContainer.tsx index 0f9ef73152..6445454994 100644 --- a/src/components/views/host_signup/HostSignupContainer.tsx +++ b/src/components/views/host_signup/HostSignupContainer.tsx @@ -14,11 +14,11 @@ See the License for the specific language governing permissions and limitations under the License. */ -import React, {useState} from 'react'; +import React, { useState } from 'react'; import HostSignupDialog from "../dialogs/HostSignupDialog"; -import {HostSignupStore} from "../../../stores/HostSignupStore"; -import {useEventEmitter} from "../../../hooks/useEventEmitter"; -import {UPDATE_EVENT} from "../../../stores/AsyncStore"; +import { HostSignupStore } from "../../../stores/HostSignupStore"; +import { useEventEmitter } from "../../../hooks/useEventEmitter"; +import { UPDATE_EVENT } from "../../../stores/AsyncStore"; const HostSignupContainer = () => { const [isActive, setIsActive] = useState(HostSignupStore.instance.isHostSignupActive);