We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/teams
1 parent cebf8de commit 9d7cedaCopy full SHA for 9d7ceda
web-server/pages/teams/index.tsx
@@ -22,7 +22,7 @@ function Page() {
22
integrations: { github: isGithubIntegrated }
23
} = useAuth();
24
const teamsList = useSelector((state) => state.team.teams);
25
- const loading = useBoolState(true);
+ const loading = useBoolState(!Boolean(teamsList.length));
26
27
const fetchAllTeams = useCallback(async () => {
28
depFn(loading.true);
0 commit comments