Commit 16184ff8 authored by baesangjune's avatar baesangjune
Browse files

.

parent fbdf8414
......@@ -15,6 +15,9 @@ function Admin() {
function handleClickQuiz(e) {
(JSON.parse(localStorage.getItem('QnA')) === null) ? setresult(<AdminQuiz QuizNum={e.target.id} data={{Q:'x' , Choose:'x', A:'x'}} />) : setresult(<AdminQuiz QuizNum={e.target.id} data={JSON.parse(localStorage.getItem('QnA'))} />)
console.log('data')
console.log(data)
console.log(QuizNum)
}
function handleClickAddQuiz() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment