Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Diskuy-Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Functional Programming
Diskuy-Frontend
Merge requests
!48
Ryo
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Ryo
ryo
into
master
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
Ryo Axtonlie
requested to merge
ryo
into
master
4 years ago
Overview
0
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
66cd4219
Prev
Next
Show latest version
1 file
+
2
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
66cd4219
add routing for editComment
· 66cd4219
ryoaxton2000
authored
4 years ago
src/routes/App.jsx
+
2
−
0
Options
@@ -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
/>
Loading