diff --git a/client/src/page/user/Login.js b/client/src/page/user/Login.js index 7beca042..c4104b86 100644 --- a/client/src/page/user/Login.js +++ b/client/src/page/user/Login.js @@ -33,8 +33,8 @@ import { const Login = () => { const navigate = useNavigate(); const dispatch = useDispatch(); - const [email, setEmail] = useState(''); - const [password, setPassword] = useState(''); + const [email, setEmail] = useState('test@gmail.com'); + const [password, setPassword] = useState('1234'); window.scrollTo(0, 0); const handleSubmit = async (e) => { diff --git a/client/src/page/user/LoginModal.js b/client/src/page/user/LoginModal.js index 61678a82..1a3f76c6 100644 --- a/client/src/page/user/LoginModal.js +++ b/client/src/page/user/LoginModal.js @@ -35,8 +35,8 @@ import { const LoginModal = ({ onClose, isClosing }) => { const navigate = useNavigate(); const dispatch = useDispatch(); - const [email, setEmail] = useState(''); - const [password, setPassword] = useState(''); + const [email, setEmail] = useState('test@gmail.com'); + const [password, setPassword] = useState('1234'); window.scrollTo(0, 0); const handleSubmit = async (e) => {