mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-22 16:24:19 +00:00
RootFooter
: Remove unused call to useTranslation
This commit is contained in:
parent
298aa8ccef
commit
002473bf1a
2 changed files with 2 additions and 5 deletions
|
@ -1,11 +1,8 @@
|
||||||
import {useTranslation} from "@/app/(i18n)/server"
|
|
||||||
import style from "@/app/[lang]/page.module.css"
|
import style from "@/app/[lang]/page.module.css"
|
||||||
import {default as React} from "react"
|
import {default as React} from "react"
|
||||||
|
|
||||||
|
|
||||||
export async function RootFooter({lng}: {lng: string}) {
|
export async function RootFooter() {
|
||||||
const {t} = await useTranslation(lng, "root")
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<footer className={style.pageFooter}>
|
<footer className={style.pageFooter}>
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -10,7 +10,7 @@ export default async function page({params: {lng}}: {params: {lng: string}}) {
|
||||||
<div className={style.pageRoot}>
|
<div className={style.pageRoot}>
|
||||||
<RootHeader lng={lng}/>
|
<RootHeader lng={lng}/>
|
||||||
<RootMain lng={lng}/>
|
<RootMain lng={lng}/>
|
||||||
<RootFooter lng={lng}/>
|
<RootFooter/>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue