Fakultas Ilmu Komputer UI

Commit 66cd4219 authored by ryoaxton2000's avatar ryoaxton2000
Browse files

add routing for editComment

parent 104fe20d
......@@ -12,6 +12,7 @@ import Search from '../components/Search';
import EditThread from '../components/thread/EditThread';
import Footer from '../components/utility/Footer';
import UpdateProfileForm from '../components/profile/UpdateProfileForm.jsx';
import EditComment from '../components/thread/EditComment';
import {
BrowserRouter as Router,
Route,
......@@ -61,6 +62,7 @@ function App() {
<Route exact path="/threads" component={ListThreads} />
<Route exact path="/thread/edit/:thread" component={EditThread} />
<Route exact path="/profile/update" component={UpdateProfileForm} />
<Route exact path="/thread/edit/comment/:comment" component={EditComment} />
<Redirect exact from="" to="page/1" />
</Switch>
<Footer />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment