import Footer from "@/components/common/Footer/footer"
import Header from "@/components/common/Header/header"
import { Toaster } from "@/components/ui/toaster"

const CommonView = ({
  children
} : {
  children : React.ReactNode
}) => {
  return(
    <div className="min-h-screen flex flex-col justify-between">
      <Header />
      <main>
        {children}
      </main>
      <Footer />
      <Toaster />
    </div>
  )
}

export default CommonView