From be5ef6142873c1681e72f115fc9483f91de24ae7 Mon Sep 17 00:00:00 2001 From: Kunal Vishwakarma <116634168+kunalv17@users.noreply.github.com> Date: Tue, 18 Apr 2023 10:55:32 +0530 Subject: [PATCH] fix: join project button (#873) --- apps/app/components/auth-screens/project/join-project.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {