mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-12 03:13:41 +08:00
Remove useless page
This commit is contained in:
@@ -14,7 +14,7 @@ import PasswordResetForm from './components/PasswordResetForm';
|
||||
import GitHubOAuth from './components/GitHubOAuth';
|
||||
import PasswordResetConfirm from './components/PasswordResetConfirm';
|
||||
import { UserContext } from './context/User';
|
||||
import File from './pages/File';
|
||||
import Channel from './pages/Channel';
|
||||
|
||||
const Home = lazy(() => import('./pages/Home'));
|
||||
const About = lazy(() => import('./pages/About'));
|
||||
@@ -65,10 +65,10 @@ function App() {
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path='/file'
|
||||
path='/channel'
|
||||
element={
|
||||
<PrivateRoute>
|
||||
<File />
|
||||
<Channel />
|
||||
</PrivateRoute>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user