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.
15 lines
325 B
15 lines
325 B
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
|