import ErrorPage from '@/components/error/error.tsx'
import { CatchBoundary, Outlet } from '@tanstack/react-router'

const EmptyLayout = () => {
  return (
    <CatchBoundary
      getResetKey={() => 'reset-layout'}
      errorComponent={ErrorPage}
    >
      <Outlet/>
    </CatchBoundary>
  )
}

export default EmptyLayout