From 30fc39b3897ee16cc9e703f9613cba2c9099c190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o?= <leopold.chappuis@savoirfairelinux.com> Date: Thu, 13 Feb 2025 15:22:23 -0500 Subject: [PATCH] footer: remove contact page button As contacts page is not implemented for now, remove the button that leads to this page Change-Id: Ife42f382adba3d3a1a9be247b9e1dace339dbd4a --- client/src/components/Footer.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/components/Footer.tsx b/client/src/components/Footer.tsx index d9ee19c8..65de33f6 100644 --- a/client/src/components/Footer.tsx +++ b/client/src/components/Footer.tsx @@ -17,7 +17,6 @@ */ import LogoutIcon from '@mui/icons-material/Logout' import ManageAccountsIcon from '@mui/icons-material/ManageAccounts' -import PeopleAltIcon from '@mui/icons-material/PeopleAlt' import QuestionAnswerIcon from '@mui/icons-material/QuestionAnswer' import { Box, Card, Menu, MenuItem, useMediaQuery, useTheme } from '@mui/material' import { MouseEvent, useState } from 'react' @@ -171,12 +170,12 @@ export default function Footer() { </MenuItem> </> )} - <MenuItem onClick={() => closeMenuAndNavigate(`/contacts`)}> + {/*<MenuItem onClick={() => closeMenuAndNavigate(`/contacts`)}> <div style={menuItemStyle}> <PeopleAltIcon sx={{ marginRight: '5%' }} /> {t('settings_menu_item_contacts')} </div> - </MenuItem> + </MenuItem>*/} <MenuItem onClick={() => closeMenuAndNavigate(`/settings/account/manage-account`)}> <div style={menuItemStyle}> <ManageAccountsIcon sx={{ marginRight: '5%' }} /> -- GitLab