Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
72583297
Commit
72583297
authored
Jul 08, 2022
by
Yoon, Daeki
😅
Browse files
Login 버그 수정
parent
1e910f2e
Changes
1
Show whitespace changes
Inline
Side-by-side
frontend/src/auth/Login.tsx
View file @
72583297
...
@@ -16,7 +16,7 @@ export const Login = () => {
...
@@ -16,7 +16,7 @@ export const Login = () => {
const
location
=
useLocation
()
as
LocationState
;
const
location
=
useLocation
()
as
LocationState
;
const
{
login
}
=
useAuth
();
const
{
login
}
=
useAuth
();
const
from
=
location
.
state
.
from
||
"
/
"
;
const
from
=
location
.
state
?
.
from
||
"
/
"
;
function
handleChange
(
e
:
ChangeEvent
<
HTMLInputElement
>
)
{
function
handleChange
(
e
:
ChangeEvent
<
HTMLInputElement
>
)
{
const
{
name
,
value
}
=
e
.
currentTarget
;
const
{
name
,
value
}
=
e
.
currentTarget
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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