diff --git a/components/Footer.tsx b/components/Footer.tsx index eb363ca..f9737d0 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,23 +1,24 @@ -import { PageProps } from "$fresh/server.ts"; import translations from "../locales/es.json" with { type: "json" }; -interface State { + +interface FooterProps { state: { lang: string; translations: typeof translations }; } -export default function Footer({ state }: PageProps) { + +export default function Footer({ state }: FooterProps) { const { lang: _lang, translations } = state; return (