diff --git a/components/InfoPage.tsx b/components/InfoPage.tsx index 8b1813ba..3f1e9d39 100644 --- a/components/InfoPage.tsx +++ b/components/InfoPage.tsx @@ -1,10 +1,11 @@ import Footer from "./Footer"; import StaticLogoHeader from "./StaticLogoHeader"; +import type { ReactNode } from "react"; type InfoPageProps = { title: string; subtitle?: string; - children: React.ReactNode; + children: ReactNode; }; export default function InfoPage({ title, subtitle, children }: InfoPageProps) { diff --git a/components/Providers.tsx b/components/Providers.tsx index 0dfb8237..3502f277 100644 --- a/components/Providers.tsx +++ b/components/Providers.tsx @@ -1,7 +1,8 @@ "use client"; import { SessionProvider } from "next-auth/react"; +import type { ReactNode } from "react"; -export default function Providers({ children }: { children: React.ReactNode }) { +export default function Providers({ children }: { children: ReactNode }) { return {children}; }