forked from github/plane
fix: join project button (#873)
This commit is contained in:
parent
1627a587ee
commit
be5ef61428
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user