Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfina Megasiwi
Walkiddie Toys - FrontEnd
Commits
0e9adf69
Commit
0e9adf69
authored
May 04, 2021
by
Aji Inisti Udma Wijaya
Browse files
[REFACTOR] Remove another code smell apear
parent
5e0fa398
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/components/Form/LoginForm.jsx
View file @
0e9adf69
...
...
@@ -4,7 +4,6 @@ import { Link } from 'react-router-dom';
import
{
useState
}
from
'
react
'
;
import
{
connect
}
from
'
react-redux
'
;
import
{
login
as
loginAction
}
from
'
../../actions/auth
'
;
import
axios
from
'
axios
'
;
const
initialState
=
{
email
:
''
,
...
...
src/page/RegistrasiInvestor/RegistrasiInvestor.js
View file @
0e9adf69
...
...
@@ -6,7 +6,6 @@ import { Link, Redirect } from 'react-router-dom';
import
{
Row
}
from
"
react-bootstrap
"
;
import
{
connect
}
from
'
react-redux
'
;
import
{
signup
}
from
'
../../actions/auth
'
;
import
axios
from
'
axios
'
;
const
RegistrasiInvestor
=
({
signup
,
isAuthenticated
})
=>
{
const
[
formData
,
setFormData
]
=
useState
({
...
...
src/page/RegistrasiMitra/RegistrasiMitra.js
View file @
0e9adf69
...
...
@@ -6,7 +6,6 @@ import { Link, Redirect } from 'react-router-dom';
import
{
Row
}
from
"
react-bootstrap
"
;
import
{
connect
}
from
'
react-redux
'
;
import
{
signupMitra
}
from
'
../../actions/auth
'
;
import
axios
from
'
axios
'
;
const
RegistrasiMitra
=
({
signupMitra
,
isAuthenticated
})
=>
{
const
[
formData
,
setFormData
]
=
useState
({
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment