From 022271947af6493a6b9d4eb03bc68169669954bc Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Wed, 26 Nov 2025 15:47:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=8A=BD?= =?UTF-8?q?=E5=B1=89=E8=8F=9C=E5=8D=95=E4=B8=8D=E5=86=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=B7=B1=E8=89=B2=E6=A8=A1=E5=BC=8F=E5=88=87=E6=8D=A2=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/MobileDrawer/MobileDrawer.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/components/Navbars/components/MobileDrawer/MobileDrawer.js b/src/components/Navbars/components/MobileDrawer/MobileDrawer.js index 590c3f1f..8084d394 100644 --- a/src/components/Navbars/components/MobileDrawer/MobileDrawer.js +++ b/src/components/Navbars/components/MobileDrawer/MobileDrawer.js @@ -18,10 +18,8 @@ import { Link, Divider, Avatar, - useColorMode, useColorModeValue } from '@chakra-ui/react'; -import { SunIcon, MoonIcon } from '@chakra-ui/icons'; import { useNavigate, useLocation } from 'react-router-dom'; /** @@ -46,7 +44,6 @@ const MobileDrawer = memo(({ }) => { const navigate = useNavigate(); const location = useLocation(); - const { colorMode, toggleColorMode } = useColorMode(); const userBgColor = useColorModeValue('gray.50', 'whiteAlpha.100'); const contactTextColor = useColorModeValue('gray.500', 'gray.300'); const emailTextColor = useColorModeValue('gray.500', 'gray.300'); @@ -82,17 +79,6 @@ const MobileDrawer = memo(({ - {/* 移动端:日夜模式切换 */} - - {/* 移动端用户信息 */} {isAuthenticated && user && ( <>