forked from github/plane
fix: dashboard workspace activity mutation (#742)
This commit is contained in:
parent
9b1ae6bcd4
commit
98e6d3de22
@ -32,6 +32,8 @@ const WorkspacePage: NextPage = () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
if (!workspaceSlug) return;
|
||||||
|
|
||||||
mutate(USER_WORKSPACE_DASHBOARD(workspaceSlug as string));
|
mutate(USER_WORKSPACE_DASHBOARD(workspaceSlug as string));
|
||||||
}, [month, workspaceSlug]);
|
}, [month, workspaceSlug]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user