From 581b752ddd7224c704947a547116870a234aa18c Mon Sep 17 00:00:00 2001 From: Chase Gaines Date: Tue, 10 Feb 2026 04:36:42 +0000 Subject: [PATCH] cleanup: components --- components/InfoPage.tsx | 3 ++- components/Providers.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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}; }