Skip to content

Commit

Permalink
everything good
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyush3124 committed Mar 15, 2024
1 parent de1fe0c commit dc566ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/events/event1/memberDash/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const TeamPage = () => {
};

const leaveTeam = () => {
// setIsLoading(true);
setIsLoading(true);
fetch( '/api/event1/leaveTeam/', {
content: "application/json",
method: "POST",
Expand All @@ -111,8 +111,8 @@ const TeamPage = () => {
console.log('data', data)
if(data.status == 200) {
console.log('sending to makeTeam')
// setIsLoading(true);
// router.push('/events/event1/makeTeam')
setIsLoading(false);
router.push('/events/event1/makeTeam')
}
})
}
Expand Down

0 comments on commit dc566ee

Please sign in to comment.