From 5e8ad608cfb10eb908a1f4f8ac86006a1fab9c4e Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Tue, 25 Jun 2024 07:44:53 +0200 Subject: [PATCH] Fix type error while running "npm run build". --- pages/_app.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index 78e751a..4618f31 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,3 +1,4 @@ +import { AppProps } from "next/app"; import { Poppins } from "next/font/google"; import "./globals.css"; @@ -6,7 +7,7 @@ const poppins = Poppins({ subsets: ["latin"], }); -function MyApp({ Component, pageProps }) { +function MyApp({ Component, pageProps }: AppProps) { return ( <>