김건희

[Update] Register Redux Setting

1 -import React, { useCallback, useState } from "react"; 1 +import React, { useCallback, useEffect, useState } from "react";
2 import { register } from "../../../modules/user.js"; 2 import { register } from "../../../modules/user.js";
3 import "../style/RegisterPage.scss"; 3 import "../style/RegisterPage.scss";
4 import { useDispatch, useSelector } from "react-redux"; 4 import { useDispatch, useSelector } from "react-redux";
...@@ -104,7 +104,6 @@ function RegisterPage(props) { ...@@ -104,7 +104,6 @@ function RegisterPage(props) {
104 gender: Sex, 104 gender: Sex,
105 }; 105 };
106 106
107 -
108 dispatch(register(UserData)); 107 dispatch(register(UserData));
109 registerResult.then((result) => { 108 registerResult.then((result) => {
110 console.log(result); 109 console.log(result);
......