added Profile Page and Change password (also included breadcrumb
This commit is contained in:
@@ -3,8 +3,15 @@ import { setupRouterSsrQueryIntegration } from '@tanstack/react-router-ssr-query
|
||||
import * as TanstackQuery from './integrations/tanstack-query/root-provider'
|
||||
|
||||
// Import the generated route tree
|
||||
import { BreadcrumbValue } from './components/sidebar/RouterBreadcrumb'
|
||||
import { routeTree } from './routeTree.gen'
|
||||
|
||||
declare module '@tanstack/react-router' {
|
||||
interface StaticDataRouteOption {
|
||||
breadcrumb?: BreadcrumbValue
|
||||
}
|
||||
}
|
||||
|
||||
// Create a new router instance
|
||||
export const getRouter = () => {
|
||||
const rqContext = TanstackQuery.getContext()
|
||||
|
||||
Reference in New Issue
Block a user