From 781085d9f3c094d8a1eed6ac254a312dcdd98fef Mon Sep 17 00:00:00 2001 From: liukeke Date: Mon, 15 Aug 2022 17:00:49 +0800 Subject: [PATCH] fix: console --- newton-website/src/components/header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newton-website/src/components/header.tsx b/newton-website/src/components/header.tsx index dca30db..1f89440 100644 --- a/newton-website/src/components/header.tsx +++ b/newton-website/src/components/header.tsx @@ -19,7 +19,7 @@ export default function Header() { if (typeof window !== 'undefined' && typeof document !== 'undefined') { const herf = window.location.pathname const herfName = herf.split('/')[2] - console.log('====', herfName) + // console.log('====', herfName) herfName == 'getnew' ? setActiveName(true) : setActiveName(false) herfName == 'newton2' || herfName == 'evt' || herfName == 'roadmap' ? setActiveLearn(true) : setActiveLearn(false) herfName == 'developers' ? setActiveDevelopers(true) : setActiveDevelopers(false)