diff --git a/my-app/src/components/Mypage/Footer.js b/my-app/src/components/Mypage/Footer.js index d159bef..b1d8b93 100644 --- a/my-app/src/components/Mypage/Footer.js +++ b/my-app/src/components/Mypage/Footer.js @@ -2,10 +2,10 @@ import React from "react"; class Footer extends React.Component { constructor(props) { - super(props) + super(props); this.state = { - } + }; } render() { @@ -13,8 +13,8 @@ class Footer extends React.Component { - ) + ); } } -export default Footer \ No newline at end of file +export default Footer; \ No newline at end of file diff --git a/my-app/src/components/Mypage/MyToGoList.js b/my-app/src/components/Mypage/MyToGoList.js index cbbf7d2..14b678a 100644 --- a/my-app/src/components/Mypage/MyToGoList.js +++ b/my-app/src/components/Mypage/MyToGoList.js @@ -3,10 +3,10 @@ import React from "react"; class MyToGoList extends React.Component { constructor(props) { - super(props) + super(props); this.state = { - } + }; } render() { @@ -20,8 +20,8 @@ class MyToGoList extends React.Component { - ) + ); } } -export default MyToGoList \ No newline at end of file +export default MyToGoList; \ No newline at end of file diff --git a/my-app/src/components/Mypage/UserInfo.js b/my-app/src/components/Mypage/UserInfo.js index e4e467a..d9885b7 100644 --- a/my-app/src/components/Mypage/UserInfo.js +++ b/my-app/src/components/Mypage/UserInfo.js @@ -2,10 +2,10 @@ import React from "react"; class UserInfo extends React.Component { constructor(props) { - super(props) + super(props); this.state = { - } + }; } render() { @@ -45,8 +45,8 @@ class UserInfo extends React.Component { - ) + ); } } -export default UserInfo \ No newline at end of file +export default UserInfo; \ No newline at end of file diff --git a/my-app/src/routes/Mainpage.js b/my-app/src/routes/Mainpage.js index 9ac7e4d..310842e 100644 --- a/my-app/src/routes/Mainpage.js +++ b/my-app/src/routes/Mainpage.js @@ -4,7 +4,7 @@ import './Mainpage.css'; import axios from "axios" import { UNSPLASH_API_KEY } from "../config/config"; import Nav from '../components/main_page/Nav'; -import "../Animation"; +// import "../Animation"; import Section0 from '../components/main_page/Section0'; import Section1 from '../components/main_page/Section1'; import Section2 from '../components/main_page/Section2'; @@ -12,7 +12,6 @@ import Section3 from '../components/main_page/Section3'; import Footer from '../components/main_page/Footer'; import { fakeDate } from '../fakeData'; - class Mainpage extends React.Component{ constructor(props){ super(props); diff --git a/my-app/src/routes/Mypage.js b/my-app/src/routes/Mypage.js index 1ab7e70..a3c7760 100644 --- a/my-app/src/routes/Mypage.js +++ b/my-app/src/routes/Mypage.js @@ -24,7 +24,7 @@ class Mypage extends React.Component{ console.log("didmount중입니다") axios({ method: 'get', - url: 'http://13.209.21.127:3001/user/info', + url: 'http://13.209.99.91:3001/user/info', } ) .then((res) => { diff --git a/my-app/src/routes/Signin.js b/my-app/src/routes/Signin.js index 4e3bdd3..664826a 100644 --- a/my-app/src/routes/Signin.js +++ b/my-app/src/routes/Signin.js @@ -67,7 +67,7 @@ class Signin extends React.Component{ }) axios({ method: 'post', - url: 'http://13.209.21.127:3001/user/signin', + url: 'http://13.209.99.91:3001/user/signin', data: { googleId : id, email: email, @@ -114,7 +114,7 @@ class Signin extends React.Component{ axios({ method: 'post', - url: 'http://13.209.21.127:3001/user/signin', + url: 'http://13.209.99.91:3001/user/signin', data: { email, password diff --git a/my-app/src/routes/Signup.js b/my-app/src/routes/Signup.js index d2a862e..7732c58 100644 --- a/my-app/src/routes/Signup.js +++ b/my-app/src/routes/Signup.js @@ -77,7 +77,7 @@ class Signup extends React.Component { { axios - .post("http://13.209.21.127:3001/user/signup", { + .post("http://13.209.99.91:3001/user/signup", { email: email, password: password, passwordCheck: passwordCheck,