From 8cac5bd1af1fa56133947f168d080fa35fd08694 Mon Sep 17 00:00:00 2001 From: Erik Escoffier Date: Thu, 28 Sep 2023 21:33:16 +0200 Subject: [PATCH] Fixed linter --- app/scripts/components/analysis/define/index.tsx | 1 - app/scripts/main.tsx | 8 -------- 2 files changed, 9 deletions(-) diff --git a/app/scripts/components/analysis/define/index.tsx b/app/scripts/components/analysis/define/index.tsx index b33f84fcf..9f87e3a48 100644 --- a/app/scripts/components/analysis/define/index.tsx +++ b/app/scripts/components/analysis/define/index.tsx @@ -138,7 +138,6 @@ const FloatingFooter = styled.div<{ isSticky: boolean }>` position: sticky; left: 0; right: 0; - // trick to get the IntersectionObserver to fire bottom: -1px; padding: ${variableGlsp(0.5)}; background: ${themeVal('color.surface')}; diff --git a/app/scripts/main.tsx b/app/scripts/main.tsx index 6a5d02710..d0e7f372f 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, { @@ -113,12 +111,6 @@ function Root() { } /> )} - {/* Legacy: Routes related to thematic areas redirect. */} - {/* Removing for ghgc */} - {/* {thematicRoutes} */} - {/* Legacy: Routes related to renaming /discoveries to /stories. */} - {/* {discoveryRoutes} */} - {userPages.map((p) => (