About us
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
// components/Layout.js
|
||||
import { Header } from './header';
|
||||
import { Footer } from './footer';
|
||||
import { ReactNode } from 'react'; // Import ReactNode
|
||||
|
||||
@ -9,7 +8,6 @@ interface LayoutProps {
|
||||
export function Layout({ children }: LayoutProps) {
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<main>{children}</main>
|
||||
<Footer />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user