Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove "How to join a common" screen#2158 #2170

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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);
Expand All @@ -145,13 +142,6 @@ export function MembershipRequestModal(props: IProps) {

const renderCurrentStage = (stage: number) => {
switch (stage) {
case MembershipRequestStage.Welcome:
return (
<MembershipRequestWelcome
userData={userData}
setUserData={setUserData}
/>
);
case MembershipRequestStage.Introduce:
return (
<MembershipRequestIntroduce
Expand Down

This file was deleted.

Loading