fix: join project button (#873)

This commit is contained in:
Kunal Vishwakarma 2023-04-18 10:55:32 +05:30 committed by GitHub
parent 1627a587ee
commit be5ef61428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ export const JoinProject: React.FC = () => {
project_ids: [projectId as string], project_ids: [projectId as string],
}) })
.then(async () => { .then(async () => {
await mutate(USER_PROJECT_VIEW(workspaceSlug.toString())); await mutate(USER_PROJECT_VIEW(projectId.toString()));
setIsJoiningProject(false); setIsJoiningProject(false);
}) })
.catch((err) => { .catch((err) => {