import React, { useState, useEffect, useRef } from 'react'; import Nav1 from '../Components/MainNav'; import Nav2 from '../Components/SubNav'; import { Form, Col, Container, Button, Row } from 'react-bootstrap' import { Link, Redirect } from 'react-router-dom' function Login(){ const [validated,setValidated]=useState(false); const handleSubmit=(e)=>{ const form =e.currentTarget; console.log(form) if(form.checkValidity() === false){ e.preventDefault(); e.stopPropagation(); } setValidated(true); } return (

Login

아이디 아이디를 입력하세요. 비밀번호 비밀번호를 입력하세요.
회원이 아니십니까?
) } export default Login