Commit 63a945f5 authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

radio checked reset

parent aebc0b83
......@@ -19,11 +19,11 @@ function Quiz() {
i: 0,
page: 0,
})
const [selected, setSelected] = useState("") //선택한 답을 보여줄 것
const [selected, setSelected] = useState("") //선택한 답을 보여줄 것
function handleQuestion() {
setQuestion({ ...QnA[question.i + 1], i: question.i + 1, page: question.page + 1 })
setSelected("")
setSelected("") //페이지 넘어가면 Your Answer 초기화
}
let handleChange = (ev) => {
......
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