From 3552ad4c518dff9fd534652f0fe271a36172d18b Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Jul 2025 16:25:07 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EC=84=B1?= =?UTF-8?q?=EA=B3=B5=20=EC=A0=95=EB=A6=AC=ED=95=84=EC=9A=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/LoginForm.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/components/LoginForm.tsx b/src/app/components/LoginForm.tsx index 2e069cb..2e63493 100644 --- a/src/app/components/LoginForm.tsx +++ b/src/app/components/LoginForm.tsx @@ -10,15 +10,15 @@ const LoginForm = () => { const [id, setId] = useState('') //ID const [pw, setPw] = useState('') //PW const [params, setParams] = useState({ - id:'', - pw:'' + id: '', + pw: '' }) - const requestUrl = 'https://kauth.kakao.com/oauth/authorize' + const requestUrl = 'https://kauth.kakao.com/oauth/authorize?client_id=a1d6afef2d4508a10a498b7069f67496&redirect_uri=http://localhost:8080/login/oauth-kakao&response_type=code' const login = () => { axios.get(requestUrl, { - headers : { - "client_id":"a1d6afef2d4508a10a498b7069f67496", + headers: { + "client_id": "a1d6afef2d4508a10a498b7069f67496", } }).then((res) => { console.log(requestUrl + "===>") @@ -31,10 +31,10 @@ const LoginForm = () => { return ( <> - - + + )