added Profile Page and Change password (also included breadcrumb

This commit is contained in:
2025-12-27 14:46:21 +07:00
parent bd71b27376
commit ba52869e8f
49 changed files with 11108 additions and 12778 deletions

View File

@@ -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()