Skip to content

Commit

Permalink
chore: delete some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-huxiyang committed Jan 22, 2025
1 parent 745ba09 commit d4624ce
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/sites/doc/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const Content = () => {
...guideTaroRoutes,
...guideEnTaroRoutes,
]
console.log(guideRoutes, guideTaroRoutes)
return (
<div className="doc-content">
{!isGuide && (
Expand Down
3 changes: 0 additions & 3 deletions src/sites/doc/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ const Header = () => {
(l) => location.pathname.indexOf(l.locale) > -1
)[0]
setCurrLang(lang)
console.log(lang)
}, [location])
const [visible, setVisible] = useState(false)
const [activeLink, setActiveLink] = useState('指南')
// const handleSwitchLocale = (e: any) => {
// const classList: string[] = [].slice.call(e.target.classList)
Expand Down Expand Up @@ -158,7 +156,6 @@ const Header = () => {
>
<a
onClick={() => {
console.log(item)
toLink(item)
}}
>
Expand Down
1 change: 0 additions & 1 deletion src/sites/doc/components/nav/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const Nav = () => {
}, [location])
const changeNav = (_nav: any) => {
setActiveName(_nav.name)
console.log(_nav.name)
navigate(`${isZh ? '/zh-CN/' : '/en-US/'}guide/${_nav.name.toLowerCase()}${isTaro? '-taro' : ''}`)
}
const isTaro = location.pathname.includes('-taro')
Expand Down

0 comments on commit d4624ce

Please sign in to comment.