13 lines
385 B
TypeScript
13 lines
385 B
TypeScript
import { createRootRoute, Outlet } from '@tanstack/react-router'
|
|
import { TanStackRouterDevtools } from '@tanstack/router-devtools'
|
|
import NotFound from '../components/Common/NotFound'
|
|
|
|
export const Route = createRootRoute({
|
|
component: () => (
|
|
<>
|
|
<Outlet />
|
|
<TanStackRouterDevtools />
|
|
</>
|
|
),
|
|
notFoundComponent: () => <NotFound />,
|
|
}) |