Skip to content

Commit

Permalink
Remove legacy redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Sep 28, 2023
1 parent d6b1ee6 commit e344607
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions app/scripts/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { BrowserRouter, Route, Routes, useLocation } from 'react-router-dom';
import { DevseedUiThemeProvider as DsTp } from '@devseed-ui/theme-provider';
import { userPages } from 'veda';

import { discoveryRoutes, thematicRoutes } from './redirects';

import theme, { GlobalStyles } from '$styles/theme';
import { getAppURL } from '$utils/history';
import LayoutRoot, {
Expand Down Expand Up @@ -112,13 +110,6 @@ function Root() {
{process.env.NODE_ENV !== 'production' && (
<Route path='/sandbox/*' element={<Sandbox />} />
)}

{/* Legacy: Routes related to thematic areas redirect. */}
{/* Removing for ghgc */}
{/* {thematicRoutes} */}
{/* Legacy: Routes related to renaming /discoveries to /stories. */}
{/* {discoveryRoutes} */}

{userPages.map((p) => (
<Route
key={p}
Expand Down

0 comments on commit e344607

Please sign in to comment.