From 002473bf1a0cb78549365c820b50d5643eead621 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 8 Aug 2023 16:28:58 +0200 Subject: [PATCH] `RootFooter`: Remove unused call to useTranslation --- todoblue/src/app/[lang]/(page)/RootFooter.tsx | 5 +---- todoblue/src/app/[lang]/page.tsx | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/todoblue/src/app/[lang]/(page)/RootFooter.tsx b/todoblue/src/app/[lang]/(page)/RootFooter.tsx index 2f1e4ef..aaaa137 100644 --- a/todoblue/src/app/[lang]/(page)/RootFooter.tsx +++ b/todoblue/src/app/[lang]/(page)/RootFooter.tsx @@ -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 (