diff --git a/config/router.config.ts b/config/router.config.ts index 9ddb4d4..2a23abd 100644 --- a/config/router.config.ts +++ b/config/router.config.ts @@ -71,6 +71,7 @@ export default [ name: 'helpQuestion', path: '/help/helpQuestion', component: '@/pages/help/helpQuestion', + wrappers: ['@/wrappers/auth'], }, { path: '/register', diff --git a/src/layouts/Footer.tsx b/src/layouts/Footer.tsx index b6fc1ca..b7462ee 100644 --- a/src/layouts/Footer.tsx +++ b/src/layouts/Footer.tsx @@ -7,7 +7,6 @@ const Footer: React.FC = () => { useEffect(() => { getCoscoPortalsLinksClassification().then((res) => { setLinks(res.data); - console.log(res.data); }); }, []); return ( @@ -20,7 +19,7 @@ const Footer: React.FC = () => { <> {link.links.length > 0 && ( ({ - label: item.name, - value: item.url, - }))} - onChange={(value) => { - window.open(value as string, '_blank'); - }} - /> - )} - - ))} - - - ); -}; - -export default LinkComponent;