diff --git a/apps/app/components/auth-screens/project/join-project.tsx b/apps/app/components/auth-screens/project/join-project.tsx index 285fdc1bc..1c2018db0 100644 --- a/apps/app/components/auth-screens/project/join-project.tsx +++ b/apps/app/components/auth-screens/project/join-project.tsx @@ -28,11 +28,11 @@ export const JoinProject: React.FC = () => { project_ids: [projectId as string], }) .then(() => { - setIsJoiningProject(false); mutate(PROJECT_MEMBERS(projectId as string)); }) .catch((err) => { console.error(err); + setIsJoiningProject(false); }); };