mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
Dynamically fetch language bundles at runtime.
This commit is contained in:
parent
73e83ad767
commit
f91cc82c82
20 changed files with 95 additions and 132 deletions
|
|
@ -19,7 +19,7 @@ import Bars from 'assets/bars.svg';
|
|||
export default function Header() {
|
||||
const user = useSelector(state => state.user);
|
||||
const [active, setActive] = useState(false);
|
||||
const [locale] = useLocale();
|
||||
const { locale } = useLocale();
|
||||
|
||||
function handleClick() {
|
||||
setActive(state => !state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue