Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김건희
/
OSSW_Weather_Briefing
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
김건희
2022-05-25 11:11:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
31fde4e5705166136a85e1a821045e1bc38fad75
31fde4e5
1 parent
e04d84b5
[Update] Register Redux Setting
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
weather_briefing/src/component/views/RegisterPage/RegisterPage.js
weather_briefing/src/component/views/RegisterPage/RegisterPage.js
View file @
31fde4e
import
React
,
{
useCallback
,
useState
}
from
"react"
;
import
React
,
{
useCallback
,
use
Effect
,
use
State
}
from
"react"
;
import
{
register
}
from
"../../../modules/user.js"
;
import
"../style/RegisterPage.scss"
;
import
{
useDispatch
,
useSelector
}
from
"react-redux"
;
...
...
@@ -104,7 +104,6 @@ function RegisterPage(props) {
gender
:
Sex
,
};
dispatch
(
register
(
UserData
));
registerResult
.
then
((
result
)
=>
{
console
.
log
(
result
);
...
...
Please
register
or
login
to post a comment