Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit aae6999

Browse files
authored
Merge pull request #489 from yoution/issue-482-483
fix: #483
2 parents 7f0629c + 4a21710 commit aae6999

File tree

1 file changed

+7
-2
lines changed
  • src/routes/CreateNewTeam/components/SearchAndSubmit

1 file changed

+7
-2
lines changed

src/routes/CreateNewTeam/components/SearchAndSubmit/index.jsx

+7-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,14 @@ function SearchAndSubmit(props) {
3838
isExternalMemberRequest({
3939
memberId: tokenData.userId,
4040
}).then((res) => {
41-
const newStages = [...stages, { name: "Overview of the Results" }];
41+
if (res.data) {
42+
const newStages = [
43+
...stages,
44+
{ name: "Refundable Deposit Payment" },
45+
];
46+
setStages(newStages);
47+
}
4248
setIsExternalMember(res.data);
43-
setStages(newStages);
4449
});
4550
}
4651
});

0 commit comments

Comments
 (0)