Skip to content

Commit

Permalink
Merge pull request #96 from SWYP-InNOut/dev
Browse files Browse the repository at this point in the history
chore: 불필요한 코드 제거
  • Loading branch information
ssilver01 authored Aug 6, 2024
2 parents a1ceb79 + f0e04f7 commit 0acb1d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Global } from '@emotion/react';
import Router from '@routers/index';
import { globalStyles } from '@styles/globalStyles';
import { useEffect, useState } from 'react';
import Loading from '@components/common/loading/Loading';
export const App = () => {
const setScreenHeight = () => {
const vh = window.innerHeight * 0.01;
Expand Down
2 changes: 0 additions & 2 deletions src/routers/auth/oauth/KakaoRedirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const KakaoRedirect = () => {
const response = await axios.get(`https://api.stuffinout.site/kakaologin?code=${code}`, {
headers: { 'Content-Type': 'application/x-www-form-urlencoded;charset=utf-8' },
});
console.log('Response received:', response.data);
return response.data;
} catch (error) {
throw error;
Expand All @@ -41,7 +40,6 @@ const KakaoRedirect = () => {
data,
} = useMutation(kakaoLogin, {
onSuccess: (data: KakaoLoginResponse) => {
console.log('Login successful:', data);
if (data.member) {
storeProfile(data.memberId, data.memberImageId, data.accessToken);
settingIsLoggedIn(true);
Expand Down

0 comments on commit 0acb1d7

Please sign in to comment.