Skip to content

Commit

Permalink
Merge pull request #284 from depromeet/feature/#255
Browse files Browse the repository at this point in the history
setState 주석 처리
  • Loading branch information
YOOJS1205 authored Feb 13, 2024
2 parents fdd9a41 + d610dbb commit 50804ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const APPLE_REDIRECT_URI =
: `${process.env.NEXT_PUBLIC_LOCAL_DOMAIN}/login`;

export default function Page() {
const [code, setCode] = useState('');
const [code] = useState('');
const { mutate: appleLogin } = useAppleLogin();

useEffect(() => {
Expand All @@ -40,7 +40,7 @@ export default function Page() {
event.preventDefault();
const customEvent = event as CustomEvent<AppleSigninResponse>;
console.log(customEvent.detail);
setCode(customEvent.detail.authorization.id_token);
// setCode(customEvent.detail.authorization.id_token);
};

// Apple 로그인 실패 이벤트 리스너 등록
Expand Down

0 comments on commit 50804ed

Please sign in to comment.