diff --git a/src/pages/OldCommon/components/CommonDetailContainer/MembershipRequestModal/MembershipRequestModal.tsx b/src/pages/OldCommon/components/CommonDetailContainer/MembershipRequestModal/MembershipRequestModal.tsx index f9c980749a..3eab9c61a6 100644 --- a/src/pages/OldCommon/components/CommonDetailContainer/MembershipRequestModal/MembershipRequestModal.tsx +++ b/src/pages/OldCommon/components/CommonDetailContainer/MembershipRequestModal/MembershipRequestModal.tsx @@ -22,7 +22,6 @@ import MembershipRequestIntroduce from "./MembershipRequestIntroduce"; import MembershipRequestPayment from "./MembershipRequestPayment"; import MembershipRequestProgressBar from "./MembershipRequestProgressBar"; import MembershipRequestRules from "./MembershipRequestRules"; -import MembershipRequestWelcome from "./MembershipRequestWelcome"; import { MembershipRequestStage } from "./constants"; import { getSteps } from "./helpers"; import "./index.scss"; @@ -131,9 +130,7 @@ export function MembershipRequestModal(props: IProps) { const payload: IMembershipRequestData = { ...INIT_DATA, - stage: isMember - ? MembershipRequestStage.Introduce - : MembershipRequestStage.Welcome, + stage: MembershipRequestStage.Introduce }; setUserData(payload); @@ -145,13 +142,6 @@ export function MembershipRequestModal(props: IProps) { const renderCurrentStage = (stage: number) => { switch (stage) { - case MembershipRequestStage.Welcome: - return ( - - ); case MembershipRequestStage.Introduce: return ( , -) { - const screenSize = useSelector(getScreenSize()); - const isMobileView = screenSize === ScreenSize.Mobile; - const { userData, setUserData } = props; - - return ( -
- - How to join a common - -
-
- introduce -
- Introduce yourself and add your personal contribution. -
-
- -
- vote -
- Community members vote to approve your request to join. -
-
- -
- membership -
Become a equal member with an equal vote.
-
-
- - -
- -
-
-
- ); -}