fix: base component dirs, remove duplicate component instance
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Suspense, type ReactNode } from 'react';
|
||||
import { createBrowserRouter, type RouteObject } from 'react-router-dom';
|
||||
import { appRoutes, type RouteConfig } from './config';
|
||||
import { ProtectedRoute } from '@/components/ProtectedRoute';
|
||||
import { Loading } from '@/components/Loading';
|
||||
import { ProtectedRoute } from '@/components/routes/ProtectedRoute';
|
||||
import { Loading } from '@/components/routes/Loading';
|
||||
|
||||
/**
|
||||
* A recursive function to map our custom route config to the format
|
||||
|
||||
Reference in New Issue
Block a user