forked from github/plane
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],
|
||||
})
|
||||
.then(() => {
|
||||
setIsJoiningProject(false);
|
||||
mutate(PROJECT_MEMBERS(projectId as string));
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
setIsJoiningProject(false);
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user