import React, { useState } from 'react'; import AdminQuiz from './AdminQuiz' import AdminSetting from './AdminSetting' let QuizBtn=[] function Admin() { const [result, setresult] = useState('') const [QuizBtnCount, setQuizBtnCount] = useState(4) function handleClickSetting() { setresult() } function handleClickQuiz(e) { setresult() } function handleClickAddQuiz() { QuizBtn.push( ) setQuizBtnCount(QuizBtnCount + 1) } return ( <>

관리자페이지

{QuizBtn.map((element) => element)}
{result}
) } export default Admin