From 96d7391f5216b4f58baa068fe62aecf569aae865 Mon Sep 17 00:00:00 2001 From: Scenery <1507337624@qq.com> Date: Wed, 13 Dec 2023 18:00:19 +0800 Subject: [PATCH] feat: remove unnessary code --- src/components/common/Nav/PC/index.js | 2 -- src/components/home/Banner/PC/index.js | 1 - src/pages/index.js | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/common/Nav/PC/index.js b/src/components/common/Nav/PC/index.js index f1fe58ee23..f843cfc687 100644 --- a/src/components/common/Nav/PC/index.js +++ b/src/components/common/Nav/PC/index.js @@ -93,7 +93,6 @@ const NavPC = (props) => { { - console.log('debug_login', cloudUrl) sendTagEvent({ action: 'click_signin', }) @@ -116,7 +115,6 @@ const NavPC = (props) => { whiteTheme ? style.navSignUpWhiteStyle : '', )} onClick={() => { - console.log('debug_signup', cloudUrl) sendTagEvent({ action: 'click_signup', }) diff --git a/src/components/home/Banner/PC/index.js b/src/components/home/Banner/PC/index.js index 21d80e85a9..16cb2e8422 100644 --- a/src/components/home/Banner/PC/index.js +++ b/src/components/home/Banner/PC/index.js @@ -55,7 +55,6 @@ const BannerPC = (props) => { { - console.log('debug_try', cloudUrl) sendTagEvent({ action: 'click', category: 'homepage_body_try_cloud_free_click', diff --git a/src/pages/index.js b/src/pages/index.js index f3c01e4276..420203ad6d 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -53,7 +53,7 @@ const Home = ({ starCounts, uri, isMobile }) => { setPlayMaskShow={setPlayMaskShow} githubStarts={Math.floor(starCounts * step)} /> - + setPlayMaskShow(false)}