Fix type error while running "npm run build".

This commit is contained in:
Dorian Niemiec 2024-06-25 07:44:53 +02:00
parent 449ba760d2
commit 5e8ad608cf

View file

@ -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 (
<>
<style jsx global>{`