Skip to content

Commit

Permalink
[feat] test login 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
nowaveosu committed Nov 10, 2023
1 parent 8585253 commit df5fb9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/src/page/user/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('[email protected]');
const [password, setPassword] = useState('1234');
window.scrollTo(0, 0);

const handleSubmit = async (e) => {
Expand Down
4 changes: 2 additions & 2 deletions client/src/page/user/LoginModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('[email protected]');
const [password, setPassword] = useState('1234');
window.scrollTo(0, 0);

const handleSubmit = async (e) => {
Expand Down

0 comments on commit df5fb9a

Please sign in to comment.