Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mohammad Dwikurnia Apriadi
Diskuy-Frontend
Commits
4461dba7
Commit
4461dba7
authored
Mar 01, 2021
by
ryoaxton2000
Browse files
edit comment description for getDetailComment function
parent
94711be9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/thread/EditComment.jsx
View file @
4461dba7
...
...
@@ -29,7 +29,7 @@ export default function EditComment(props) {
useEffect
(()
=>
{
async
function
getDetailComment
(
commentId
)
{
// Grab
thread
detail
// Grab
comment
detail
const
content
=
await
(
await
axios
.
get
(
`
${
API_URL
}
/post/
${
commentId
}
`
)
).
data
?.
data
.
message
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment