import { Outlet } from 'react-router-dom'
import { ToastContainer } from 'react-toastify'

import '../styles/app.css'
import { NavBar } from '../components/mollecules'

const LayoutMain = (): JSX.Element => {
  return (
    <>
      <NavBar></NavBar>
      <main className="layout mt-6">
        <div className="container mx-auto">
          <Outlet />
        </div>
      </main>
    </>
  )
}

export default LayoutMain
