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:
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 {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>
|
||||
|
|
|
@ -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>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue