1
+ import "./pages/User/index.css"
1
2
import { Route , Routes , useLocation } from 'react-router-dom'
2
3
import { HomePage } from './pages/Home'
3
4
import { DownloadsPage } from './pages/Downloads'
@@ -10,12 +11,9 @@ import {
10
11
} from './state'
11
12
import React , { useEffect } from 'react'
12
13
import { Toaster } from 'react-hot-toast'
13
- import { ProPage } from './pages/Pro'
14
- import { UserEntryPage } from './pages/User'
15
14
import { Modal } from './components/Modal'
16
15
import { createPortal } from 'react-dom'
17
16
import { scrollToTop } from './components/utils'
18
- import { AccountUserInfoPane , LemoSubscriptions } from './pages/User/Account'
19
17
import cx from 'classnames'
20
18
import { TermsPage } from './pages/User/Terms'
21
19
import { PrivacyPolicyPage } from './pages/User/PrivacyPolicy'
@@ -82,14 +80,8 @@ export function App() {
82
80
< Routes >
83
81
< Route path = { '/' } element = { < HomePage /> } />
84
82
< Route path = { '/downloads' } element = { < DownloadsPage /> } />
85
- { /*<Route path={'/pro'} element={<ProPage/>}></Route>*/ }
86
83
< Route path = { '/terms' } element = { < TermsPage /> } > </ Route >
87
84
< Route path = { '/privacy-policy' } element = { < PrivacyPolicyPage /> } > </ Route >
88
- { /*<Route path={'/login'} element={<UserEntryPage/>}></Route>*/ }
89
- { /*<Route path={'/account'} element={<UserEntryPage/>}>*/ }
90
- { /* <Route path={''} element={<AccountUserInfoPane userInfo={userInfoState.get({ noproxy: true })}/> }/>*/ }
91
- { /* <Route path={'subscriptions'} element={<LemoSubscriptions/>}/>*/ }
92
- { /*</Route>*/ }
93
85
</ Routes >
94
86
95
87
{ /* modals */ }
0 commit comments