From e387b70c3a1511772a548f727bcadfc4a43a92d0 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Wed, 6 Mar 2024 19:55:13 +0800 Subject: [PATCH] refactor: remove alpha mode for telemetry --- src/client/pages/Layout.tsx | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/client/pages/Layout.tsx b/src/client/pages/Layout.tsx index ef5fc9a..5504eba 100644 --- a/src/client/pages/Layout.tsx +++ b/src/client/pages/Layout.tsx @@ -35,7 +35,6 @@ export const Layout: React.FC = React.memo(() => { const showHeader = !params.has('hideHeader'); const navigate = useNavigate(); const { t } = useTranslation(); - const { alphaMode } = useGlobalConfig(); const accountEl = ( { label={t('Servers')} onClick={() => setOpenDraw(false)} /> - {alphaMode && ( - setOpenDraw(false)} - /> - )} + setOpenDraw(false)} + /> { - {alphaMode && ( - - )} +