Browse Source

commit

master
mac 3 months ago
parent
commit
df41f0d893
  1. 2
      src/router/layout/Navbar.tsx

2
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

Loading…
Cancel
Save