From d33e98e593c6dc309cb7a8dc0831b160a96191dc Mon Sep 17 00:00:00 2001 From: Nayeon-Ryu Date: Tue, 27 Dec 2022 09:38:06 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EC=88=99=EB=8C=80=20=EB=A9=94=EC=9D=BC?= =?UTF-8?q?=20=ED=95=B4=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/App.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/components/App.js b/src/components/App.js index 775f536..e9dd1a0 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -17,19 +17,19 @@ function App() { updateProfile: (args) => user.updateProfile(args), }); - var email = user.email; - var emailIndex = email.indexOf("@") + 1; - var emailform = email.substring(emailIndex); - if (emailform !== "sookmyung.ac.kr") { - deleteUser(user); - setUserObj(null); - Swal.fire({ - icon: "error", - confirmButtonColor: "#1f54c0", - text: "숙명 메일로만 로그인이 가능합니다.", - }); - } else { - } + // var email = user.email; + // var emailIndex = email.indexOf("@") + 1; + // var emailform = email.substring(emailIndex); + // if (emailform !== "sookmyung.ac.kr") { + // deleteUser(user); + // setUserObj(null); + // Swal.fire({ + // icon: "error", + // confirmButtonColor: "#1f54c0", + // text: "숙명 메일로만 로그인이 가능합니다.", + // }); + // } else { + // } } else { setUserObj(null); }