import { ComponentChildren } from "preact";
import { Footer, Header } from "../../components";
import { Outlet } from "react-router-dom";

function DefaultLayout() {
  return (
    <>
      <Header />
      <main style={{ overflow: 'hidden' }}>
        <Outlet />
      </main>
      <Footer />
    </>
  )
}

export default DefaultLayout;