You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
325 B

7 months ago
7 months ago
7 months ago
7 months ago
  1. import ErrorPage from '@/components/error/error.tsx'
  2. import { CatchBoundary, Outlet } from '@tanstack/react-router'
  3. const EmptyLayout = () => {
  4. return (
  5. <CatchBoundary
  6. getResetKey={() => 'reset-layout'}
  7. errorComponent={ErrorPage}
  8. >
  9. <Outlet/>
  10. </CatchBoundary>
  11. )
  12. }
  13. export default EmptyLayout