import React, { useState } from "react"; import { Link } from "react-router-dom"; function PasswordUpdate() { const [password, setPassword] = useState(""); const [confirm, setConfirm] = useState(""); const handleSubmit = () => { if (password && confirm){ if (password==confirm) { alert("비밀번호가 일치합니다."); } else { alert("비밀번호가 다릅니다."); } }else { alert("비밀번호가 입력되지 않았습니다.") } }; return (
); } export default function Signup () { return(