We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54542c0 commit f14e97bCopy full SHA for f14e97b
src/features/navigation/Navigation.tsx
@@ -100,9 +100,12 @@ export const Navigation = ({
100
});
101
}
102
103
- const projects = useGetWorkspacesByWidProjectsQuery({
104
- wid: activeWorkspace?.id.toString() || '',
105
- });
+ const projects = useGetWorkspacesByWidProjectsQuery(
+ {
+ wid: activeWorkspace?.id.toString() || '',
106
+ },
107
+ { skip: !activeWorkspace?.id }
108
+ );
109
110
const projectsList =
111
!projects.data || !projects.data.items
0 commit comments