Skip to content
Snippets Groups Projects
Commit e0fa3b16 authored by Gwangbin's avatar Gwangbin
Browse files

Fix: merge confilct

parent 602f53d5
No related branches found
No related tags found
No related merge requests found
...@@ -52,11 +52,7 @@ function Main() { ...@@ -52,11 +52,7 @@ function Main() {
async function requestLoadArticle() { async function requestLoadArticle() {
const response = await axios({ const response = await axios({
<<<<<<< HEAD
url: 'http://localhost:8080/article', // 통신할 웹문서 url: 'http://localhost:8080/article', // 통신할 웹문서
=======
url: 'http://localhost:8080/post/article', // 통신할 웹문서
>>>>>>> 2892e0e9c9dd1752080a370ba274deeca6254246
method: 'get', // 통신할 방식 method: 'get', // 통신할 방식
}); });
return response; return response;
......
...@@ -57,20 +57,10 @@ function PostRead() { ...@@ -57,20 +57,10 @@ function PostRead() {
}); });
} }
<<<<<<< HEAD
async function requestLoadArticleById(id) {
const response = await axios({
url: `http://localhost:8080/article/${id}`, // 통신할 웹문서
method: 'get', // 통신할 방식
});
return response;
}
=======
const onTextChange = (e) => { const onTextChange = (e) => {
const {value} = e.target; const {value} = e.target;
setInputComment(value); setInputComment(value);
} }
>>>>>>> 2892e0e9c9dd1752080a370ba274deeca6254246
const onSubmit = e => { const onSubmit = e => {
e.preventDefault(); e.preventDefault();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment