import React from 'react' import '../App.css' import { Form, Modal, Button, Row, Col, Image, Alert, Card } from 'react-bootstrap'; import Oauth, { LoginWithKakao } from '../utils/Oauth'; import { useEffect } from 'react'; import axios from 'axios'; import { useState } from 'react'; function LoginComp() { const cardstyled = { margin: 'auto', padding: '1em', display: 'flex', justifyContent: 'center', width: '100%', borderWidth: '3px', borderRadius: '20px', borderColor: 'rgb(110, 189, 142)', color: '#04AB70' } 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 LoginComp;