Skip to content

Commit

Permalink
fix: console
Browse files Browse the repository at this point in the history
  • Loading branch information
liukeke-start committed Aug 15, 2022
1 parent a4bf34c commit 781085d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newton-website/src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 781085d

Please sign in to comment.