From e3446076b05392135b010880d51682197286848b Mon Sep 17 00:00:00 2001 From: Hanbyul Jo Date: Thu, 28 Sep 2023 15:31:53 -0400 Subject: [PATCH] Remove legacy redirect --- app/scripts/main.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/app/scripts/main.tsx b/app/scripts/main.tsx index 6a5d02710..4db0f935d 100644 --- a/app/scripts/main.tsx +++ b/app/scripts/main.tsx @@ -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, { @@ -112,13 +110,6 @@ function Root() { {process.env.NODE_ENV !== 'production' && ( } /> )} - - {/* Legacy: Routes related to thematic areas redirect. */} - {/* Removing for ghgc */} - {/* {thematicRoutes} */} - {/* Legacy: Routes related to renaming /discoveries to /stories. */} - {/* {discoveryRoutes} */} - {userPages.map((p) => (