cleanup: components
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 <SessionProvider>{children}</SessionProvider>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user