Skip to content

Commit 9b10f75

Browse files
committed
chore: remove unnecessary codes
1 parent 4846834 commit 9b10f75

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/App.tsx

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import "./pages/User/index.css"
12
import { Route, Routes, useLocation } from 'react-router-dom'
23
import { HomePage } from './pages/Home'
34
import { DownloadsPage } from './pages/Downloads'
@@ -10,12 +11,9 @@ import {
1011
} from './state'
1112
import React, { useEffect } from 'react'
1213
import { Toaster } from 'react-hot-toast'
13-
import { ProPage } from './pages/Pro'
14-
import { UserEntryPage } from './pages/User'
1514
import { Modal } from './components/Modal'
1615
import { createPortal } from 'react-dom'
1716
import { scrollToTop } from './components/utils'
18-
import { AccountUserInfoPane, LemoSubscriptions } from './pages/User/Account'
1917
import cx from 'classnames'
2018
import { TermsPage } from './pages/User/Terms'
2119
import { PrivacyPolicyPage } from './pages/User/PrivacyPolicy'
@@ -82,14 +80,8 @@ export function App() {
8280
<Routes>
8381
<Route path={'/'} element={<HomePage/>}/>
8482
<Route path={'/downloads'} element={<DownloadsPage/>}/>
85-
{/*<Route path={'/pro'} element={<ProPage/>}></Route>*/}
8683
<Route path={'/terms'} element={<TermsPage/>}></Route>
8784
<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>*/}
9385
</Routes>
9486

9587
{/* modals */}

src/pages/User/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { AccountContent } from './Account'
77
import { useLocation } from 'react-router-dom'
88

99
// setup amplify configures
10-
setupAuthConfigure(authConfig)
10+
// setupAuthConfigure(authConfig)
1111

1212
function UserEntryPage () {
1313
const appState = useAppState()

0 commit comments

Comments
 (0)