diff --git a/apps/app/components/auth-screens/project/join-project.tsx b/apps/app/components/auth-screens/project/join-project.tsx index 402fff42b..cf8fabd41 100644 --- a/apps/app/components/auth-screens/project/join-project.tsx +++ b/apps/app/components/auth-screens/project/join-project.tsx @@ -31,7 +31,7 @@ export const JoinProject: React.FC = () => { project_ids: [projectId as string], }) .then(async () => { - await mutate(USER_PROJECT_VIEW(workspaceSlug.toString())); + await mutate(USER_PROJECT_VIEW(projectId.toString())); setIsJoiningProject(false); }) .catch((err) => {