From df41f0d8936cd65d9ef9e6992ee3a81b30dfab6c Mon Sep 17 00:00:00 2001 From: mac Date: Thu, 4 Jul 2024 13:37:44 +0800 Subject: [PATCH] commit --- src/router/layout/Navbar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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