1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 08:14:18 +00:00

RootFooter: Remove unused call to useTranslation

This commit is contained in:
Steffo 2023-08-08 16:28:58 +02:00
parent 298aa8ccef
commit 002473bf1a
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 2 additions and 5 deletions

View file

@ -1,11 +1,8 @@
import {useTranslation} from "@/app/(i18n)/server"
import style from "@/app/[lang]/page.module.css"
import {default as React} from "react"
export async function RootFooter({lng}: {lng: string}) {
const {t} = await useTranslation(lng, "root")
export async function RootFooter() {
return (
<footer className={style.pageFooter}>
<p>

View file

@ -10,7 +10,7 @@ export default async function page({params: {lng}}: {params: {lng: string}}) {
<div className={style.pageRoot}>
<RootHeader lng={lng}/>
<RootMain lng={lng}/>
<RootFooter lng={lng}/>
<RootFooter/>
</div>
)
}