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
online-quiz-react
Commits
fdb6f4e0
Commit
fdb6f4e0
authored
Aug 12, 2020
by
Jiwon Yoon
Browse files
미완성
parent
f47c1b57
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Admin.js
View file @
fdb6f4e0
...
...
@@ -20,9 +20,6 @@ function Admin() {
const
[
QuizBtnCount
,
setQuizBtnCount
]
=
useState
(
4
)
function
handleClickSetting
()
{
setresult
(
<
AdminSetting
/>
)
}
...
...
@@ -68,10 +65,9 @@ function Admin() {
<
/div
>
<
/div
>
{
result
}
{
/* <AdminSetting/>
<AdminQuiz/> */
}
<
/div
>
<
/div
>
<
/div
>
...
...
src/AdminSetting.js
View file @
fdb6f4e0
...
...
@@ -3,9 +3,11 @@ import React,{ useState } from 'react'
function
AdminSetting
()
{
const
[
password
,
setPassword
]
=
useState
(
''
)
const
[
adminpassword
,
setAdminPassword
]
=
useState
(
''
)
const
[
time
,
setTime
]
=
useState
(
''
)
const
handleChangePassword
=
(
event
)
=>
{
setPassword
(
event
.
target
.
value
)
}
...
...
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