signup
This commit is contained in:
parent
2f330a3b40
commit
a4fd3a3556
2 changed files with 10 additions and 5 deletions
|
@ -8,6 +8,7 @@ import SignupPage from './pages/SignupPage.tsx'
|
|||
function App() {
|
||||
const postService = new PostsService()
|
||||
const mediaService = new MediaService()
|
||||
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
|
@ -16,7 +17,7 @@ function App() {
|
|||
element={<HomePage postsService={postService} mediaService={mediaService} />}
|
||||
/>
|
||||
<Route path="/u/:username" element={<AuthorPage postsService={postService} />} />
|
||||
<Route path="/signup" element={<SignupPage />} />
|
||||
<Route path="/signup/:code?" element={<SignupPage />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue