diff --git a/apps/gitness/src/App.tsx b/apps/gitness/src/App.tsx index 0905a187e..138753e64 100644 --- a/apps/gitness/src/App.tsx +++ b/apps/gitness/src/App.tsx @@ -27,7 +27,6 @@ import { queryClient } from './framework/queryClient' import PipelineLayout from './layouts/PipelineStudioLayout' import PullRequestLayout from './layouts/PullRequestLayout' import RepoLayout from './layouts/RepoLayout' -// import ReposListPage from './pages/repo/repo-list' import ReposListPage from './pages-v2/repo/repo-list' import CreateProject from './pages/create-project' import { EmptyPage } from './pages/empty-page' @@ -57,6 +56,7 @@ import { CreateRepo } from './pages/repo/repo-create-page' import { RepoFiles } from './pages/repo/repo-files' import { RepoHeader } from './pages/repo/repo-header' import { RepoImportContainer } from './pages/repo/repo-import-container' +import ReposListPageV1 from './pages/repo/repo-list' import { RepoSettingsGeneralPageContainer } from './pages/repo/repo-settings-general-container' import { RepoSummaryList } from './pages/repo/repo-summary' import { SignIn } from './pages/signin' @@ -103,7 +103,7 @@ export default function App() { element: }, { - path: '/v2', + path: '/', element: , children: [ { @@ -113,7 +113,7 @@ export default function App() { ] }, { - path: '/', + path: '/v1', element: , children: [ { @@ -147,7 +147,7 @@ export default function App() { children: [ { path: ':spaceId/repos', - element: + element: }, { path: ':spaceId/repos/:repoId', diff --git a/apps/gitness/src/pages/repo/repo-list.tsx b/apps/gitness/src/pages/repo/repo-list.tsx index d52c13109..3a61a8e03 100644 --- a/apps/gitness/src/pages/repo/repo-list.tsx +++ b/apps/gitness/src/pages/repo/repo-list.tsx @@ -35,7 +35,7 @@ const sortOptions = [ const LinkComponent = ({ to, children }: { to: string; children: React.ReactNode }) => {children} -export default function ReposListPage() { +export default function ReposListPageV1() { const space = useGetSpaceURLParam() ?? '' const navigate = useNavigate()