reactions
This commit is contained in:
parent
48e7094c5e
commit
c21e193fbf
9 changed files with 97 additions and 119 deletions
|
@ -1,6 +1,5 @@
|
|||
import { BrowserRouter, Route, Routes } from 'react-router-dom'
|
||||
import HomePage from './app/feed/pages/HomePage.tsx'
|
||||
import AuthorPage from './app/feed/pages/AuthorPage.tsx'
|
||||
import SignupPage from './app/auth/pages/SignupPage.tsx'
|
||||
import LoginPage from './app/auth/pages/LoginPage.tsx'
|
||||
import LogoutPage from './app/auth/pages/LogoutPage.tsx'
|
||||
|
@ -23,7 +22,6 @@ export default function App() {
|
|||
path={'/'}
|
||||
element={<HomePage postsService={postService} mediaService={mediaService} />}
|
||||
/>
|
||||
<Route path="/u/:username" element={<AuthorPage postsService={postService} />} />
|
||||
<Route path="/login" element={<LoginPage authService={authService} />} />
|
||||
<Route path="/logout" element={<LogoutPage authService={authService} />} />
|
||||
<Route path="/signup/:code?" element={<SignupPage authService={authService} />} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue