From afbbad35d5bda2f07c7924c5d9d333d1856ff589 Mon Sep 17 00:00:00 2001 From: tristan-orourke Date: Tue, 19 Nov 2024 21:38:57 -0500 Subject: [PATCH] Remove auth requirement from Manager home page (#12023) (cherry picked from commit bb5f26a3accb6dee8dc4d76f70b64d0a4751c18d) --- .../src/pages/Home/ManagerHomePage/ManagerHomePage.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/web/src/pages/Home/ManagerHomePage/ManagerHomePage.tsx b/apps/web/src/pages/Home/ManagerHomePage/ManagerHomePage.tsx index e574a5251c6..d99e0733de0 100644 --- a/apps/web/src/pages/Home/ManagerHomePage/ManagerHomePage.tsx +++ b/apps/web/src/pages/Home/ManagerHomePage/ManagerHomePage.tsx @@ -7,7 +7,6 @@ import UserPlusIcon from "@heroicons/react/24/outline/UserPlusIcon"; import { CardFlat, Flourish, Heading, Link } from "@gc-digital-talent/ui"; import { navigationMessages } from "@gc-digital-talent/i18n"; -import { ROLE_NAME } from "@gc-digital-talent/auth"; import SEO from "~/components/SEO/SEO"; import useRoutes from "~/hooks/useRoutes"; @@ -25,7 +24,6 @@ import peopleSittingOnCouch from "~/assets/img/people-sitting-on-couch-discussin import peopleSittingInLine from "~/assets/img/people-sitting-in-a-line-smiling-at-another-person.webp"; import { TALENTSEARCH_SUPPORT_EMAIL } from "~/constants/talentSearchConstants"; import DirectiveBlock from "~/components/DirectiveBlock/DirectiveBlock"; -import RequireAuth from "~/components/RequireAuth/RequireAuth"; const pageTitle = defineMessage({ defaultMessage: "Managers community", @@ -391,11 +389,7 @@ const ManagerHomePage = () => { ); }; -export const Component = () => ( - - - -); +export const Component = () => ; Component.displayName = "ManagerHomePage";