diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 5b81cb8ae..086caca90 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { Navigate, Route, Routes } from 'react-router-dom'; import ConnectionRequired from '../components/ConnectionRequired'; -import { LEGACY_USER_ROUTES, toViewManagerPageRoute } from './legacy'; +import { LEGACY_USER_ROUTES, toViewManagerPageRoute } from './legacyRoutes'; import UserNew from './user/usernew'; import Search from './search'; import UserEdit from './user/useredit'; diff --git a/src/routes/legacy/index.tsx b/src/routes/legacyRoutes/index.tsx similarity index 94% rename from src/routes/legacy/index.tsx rename to src/routes/legacyRoutes/index.tsx index a3b732f96..2bcced266 100644 --- a/src/routes/legacy/index.tsx +++ b/src/routes/legacyRoutes/index.tsx @@ -20,4 +20,4 @@ export function toViewManagerPageRoute(route: LegacyRoute) { ); } -export * from './userRoutes'; +export * from './user'; diff --git a/src/routes/legacy/userRoutes.ts b/src/routes/legacyRoutes/user.ts similarity index 100% rename from src/routes/legacy/userRoutes.ts rename to src/routes/legacyRoutes/user.ts