diff --git a/client/src/components/Footer.js b/client/src/components/Footer.js index 9c1edd7b5b37adc00eef306fbe493b3873be4974..400fa1368ed553cdf9a6460a7e6be1389ce127cf 100644 --- a/client/src/components/Footer.js +++ b/client/src/components/Footer.js @@ -11,7 +11,8 @@ function Footer() { style={{ fontSize: '0.8em' }}>
- © 2021 TEAM EUE. All rights reserved + © 2021 TEAM EUE. All rights reserved
+ 문의 : dev0gomgom@gmail.com TEAM EUE -
안강민, 박상호, 박예은 + +
+ 안강민, 박상호, 박예은 diff --git a/client/src/components/LoginComp.js b/client/src/components/LoginComp.js index 4b0b7e717607eec914581b09c2799d22e2795f29..0a176538dc795d92ed97e34ce1eaea844aae78d1 100644 --- a/client/src/components/LoginComp.js +++ b/client/src/components/LoginComp.js @@ -40,7 +40,7 @@ function LoginComp() { const newLink = 'https://www.' + afterAt; window.location.replace(newLink); } - else if (afterAt == 'korea.ac.kr') { + if (afterAt === 'korea.ac.kr') { window.location.replace('https://www.gmail.com'); } } diff --git a/client/src/components/UsingAircon.js b/client/src/components/UsingAircon.js index 72e3a5088a64e6672dba85fc4da6dfbf2e4a6d31..e0914818845359f057b11753eb054d8e00a81a0d 100644 --- a/client/src/components/UsingAircon.js +++ b/client/src/components/UsingAircon.js @@ -17,7 +17,9 @@ function UsingAircon() { useEffect(() => { callUserInfo().then((res) => { - setAirUsing(res[0]['using_aircon']) + if (isLogined()) { + setAirUsing(res[0]['using_aircon']) + } }) }, [])