articles view
This commit is contained in:
@@ -7,6 +7,7 @@ import { Route, Routes } from 'react-router-dom';
|
||||
import Home from './pages/Home';
|
||||
import Mission from './pages/Mission';
|
||||
import ArticleEditor from './pages/ArticleEditor';
|
||||
import Article from './pages/Article';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
@@ -19,6 +20,7 @@ function App() {
|
||||
path="/article/create/*"
|
||||
element={<ArticleEditor />}
|
||||
/>
|
||||
<Route path="/article/:articleId" element={<Article />} />
|
||||
<Route path="*" element={<Home />} />
|
||||
</Routes>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user