mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Cleaned up language files.
This commit is contained in:
parent
33b87b41a9
commit
92b205b7b7
6 changed files with 50 additions and 94 deletions
|
|
@ -3,11 +3,9 @@ import Head from 'next/head';
|
|||
import Header from 'components/layout/Header';
|
||||
import Footer from 'components/layout/Footer';
|
||||
import useLocale from 'hooks/useLocale';
|
||||
import { rtlLocales } from 'lib/lang';
|
||||
|
||||
export default function Layout({ title, children, header = true, footer = true }) {
|
||||
const { locale } = useLocale();
|
||||
const dir = rtlLocales.includes(locale) ? 'rtl' : 'ltr';
|
||||
const { dir } = useLocale();
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue