import React from 'react' import '../App.css' import { Form, Modal, Button, Row, Col, Image, Alert } from 'react-bootstrap'; import Oauth, { LoginWithKakao } from '../utils/Oauth'; import { useEffect } from 'react'; import axios from 'axios'; import { useState } from 'react'; function LoginwithSocial() { const inboxstyled = { display: 'flex', flexDirection: 'column', maxWidth: '100%', justifyContent: 'center', margin: 'auto', padding: '10px' } function loginWithKakao2() { window.Kakao.Auth.authorize({ redirectUri: 'http://localhost:3000/oauth' }) } // useEffect(()=> { // window.location.replace('/') // },[localStorage.getItem('Kakao_token')]) return ( LOGIN

KAKAO {/* 세미콜론이 붙으면 최상단 이동 x */} KAKAOHTML
) } export default LoginwithSocial;