From d3a914f07f1045403d78daa3b37da9073262f6b3 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 7 May 2024 10:30:40 +0100 Subject: [PATCH] fix: cleanup font props --- src/components/layout/Footer.tsx | 9 ++------- src/components/layout/Header.tsx | 13 ++++--------- src/components/layout/Layout.tsx | 17 +++++++---------- src/pages/_app.tsx | 5 +---- src/pages/api/hello.ts | 10 ---------- 5 files changed, 14 insertions(+), 40 deletions(-) delete mode 100644 src/pages/api/hello.ts diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index f29374e..22f5813 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -1,16 +1,11 @@ import { FC } from "react"; import { Github, Linkedin } from "lucide-react"; -import { NextFont } from "next/dist/compiled/@next/font"; import Image from "next/image"; import Link from "next/link"; -interface IFooterProps { - font: NextFont; -} - -export const Footer: FC = ({ font }) => { +export const Footer: FC = () => { return ( -