mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: workspace joining state fix (#780)
This commit is contained in:
parent
cfa283116b
commit
d5c2965946
@ -28,11 +28,11 @@ export const JoinProject: React.FC = () => {
|
|||||||
project_ids: [projectId as string],
|
project_ids: [projectId as string],
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
setIsJoiningProject(false);
|
|
||||||
mutate(PROJECT_MEMBERS(projectId as string));
|
mutate(PROJECT_MEMBERS(projectId as string));
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
setIsJoiningProject(false);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user