Skip to content

Commit

Permalink
fix: 머지용 로그인 api 요청 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
정수현 authored and 정수현 committed Feb 10, 2024
1 parent 60252f6 commit 446e63d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import MonstersImg from '@/assets/images/img_login_monsters.svg';
import KaKaoImg from '@/assets/images/img_login_kakao.svg';
import GoogleImg from '@/assets/images/img_login_google.svg';
import { type NextPage } from 'next';
import { useGetKakaoLogin } from '@/hooks/queries/login';

const LoginPage: NextPage = () => {
const kakaoURL = `https://kauth.kakao.com/oauth/authorize?client_id=${process.env.NEXT_PUBLIC_KAKAO_API_KEY}&redirect_uri=${process.env.NEXT_PUBLIC_KAKAO_REDIRECT_URI}&response_type=code`;
Expand All @@ -23,7 +22,8 @@ const LoginPage: NextPage = () => {
// 구글 추가시 타입 redirect_uri 변경

if (code) {
useGetKakaoLogin(code);
console.log(code);
// useGetKakaoLogin(code);
}
}
return (
Expand Down

0 comments on commit 446e63d

Please sign in to comment.