Skip to content

Commit

Permalink
Merge pull request #12 from Abh1noob/master
Browse files Browse the repository at this point in the history
changes
  • Loading branch information
Abh1noob authored Mar 9, 2024
2 parents 5db0fd3 + 4035957 commit 4a3016c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devsoc24-portal-fe/src/components/team/createTeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function CreateTeam() {
withCredentials: true,
},
);

setTeam(false);
fetchTeam();
} catch (e) {
if (axios.isAxiosError(e)) {
switch (e.response?.status) {
Expand Down
2 changes: 1 addition & 1 deletion devsoc24-portal-fe/src/components/team/joinTeam.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function JoinTeam() {
withCredentials: true,
},
);

fetchTeam();
setTeam(false);
} catch (e) {
if (axios.isAxiosError(e)) {
Expand Down

0 comments on commit 4a3016c

Please # to comment.