diff --git a/apps/web/app/[locale]/all-teams/component.tsx b/apps/web/app/[locale]/all-teams/component.tsx
index 184a9a59f..a62530752 100644
--- a/apps/web/app/[locale]/all-teams/component.tsx
+++ b/apps/web/app/[locale]/all-teams/component.tsx
@@ -5,7 +5,7 @@ import { useAtomValue } from 'jotai';
import { fullWidthState } from '@app/stores/fullWidth';
import { withAuthentication } from 'lib/app/authenticator';
import { Breadcrumb, Container } from 'lib/components';
-import { MainHeader, MainLayout } from 'lib/layout';
+import { MainLayout } from 'lib/layout';
import { useOrganizationAndTeamManagers } from '@app/hooks/features/useOrganizationTeamManagers';
import { useEffect } from 'react';
import { useTranslations } from 'next-intl';
@@ -18,55 +18,57 @@ import { MemberFilter } from 'lib/features/all-teams/all-team-members-filter';
import { useOrganizationTeams } from '@app/hooks';
function AllTeamsPage() {
- const t = useTranslations();
- const fullWidth = useAtomValue(fullWidthState);
- const view = useAtomValue(allTeamsHeaderTabs);
- const { filteredTeams, userManagedTeams } = useOrganizationAndTeamManagers();
- const { isTrackingEnabled } = useOrganizationTeams();
+ const t = useTranslations();
+ const fullWidth = useAtomValue(fullWidthState);
+ const view = useAtomValue(allTeamsHeaderTabs);
+ const { filteredTeams, userManagedTeams } = useOrganizationAndTeamManagers();
+ const { isTrackingEnabled } = useOrganizationTeams();
- const breadcrumb = [
- { title: JSON.parse(t('pages.home.BREADCRUMB')), href: '/' },
- { title: t('common.ALL_TEAMS'), href: '/all-teams' }
- ];
+ const breadcrumb = [
+ { title: JSON.parse(t('pages.home.BREADCRUMB')), href: '/' },
+ { title: t('common.ALL_TEAMS'), href: '/all-teams' }
+ ];
- /* If the user is not a manager in any team or if he's
+ /* If the user is not a manager in any team or if he's
manager in only one team, then redirect him to the home page
*/
- if (userManagedTeams.length < 2) return