We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad564eb commit 6239f01Copy full SHA for 6239f01
src/routes/CreateNewTeam/components/SearchAndSubmit/index.jsx
@@ -38,9 +38,14 @@ function SearchAndSubmit(props) {
38
isExternalMemberRequest({
39
memberId: tokenData.userId,
40
}).then((res) => {
41
- const newStages = [...stages, { name: "Overview of the Results" }];
+ if (res.data) {
42
+ const newStages = [
43
+ ...stages,
44
+ { name: "Refundable Deposit Payment" },
45
+ ];
46
+ setStages(newStages);
47
+ }
48
setIsExternalMember(res.data);
- setStages(newStages);
49
});
50
}
51
0 commit comments