diff --git a/src/router/layout/Navbar.tsx b/src/router/layout/Navbar.tsx index 7efc3da..ecb6124 100644 --- a/src/router/layout/Navbar.tsx +++ b/src/router/layout/Navbar.tsx @@ -46,7 +46,7 @@ const Navbar = (props: NavbarProps) => { { title: '繁體中文', key: 'hk' }, ], []) - const [currentLang, setCurrentLang] = useState(2) + const [currentLang, setCurrentLang] = useState(0) const setLang = (index: number) => { const key = langs[index].key