import QuestionView from '../components/test/QuestionView' import TestHeader from '../components/test/TestHeader' import TestEngineStageGate from '../components/test/TestEngineStageGate' import TestEngineSidebar from '../components/test/TestEngineSidebar' import TestEngineOverlays from '../components/test/TestEngineOverlays' import QuestionPaletteSheet from '../components/test/QuestionPaletteSheet' import useTestEngine from '../hooks/useTestEngine' export default function TestEngine() { const engine = useTestEngine() const { accepted, answered, answers, attemptNumber, beginTest, clearResponse, commitNAT, current, currentQuestion, doSubmit, endTimeMs, fsViolations, handleTimerExpire, loading, markAndNext, marked, maxAttempts, natInput, navigate, notAnswered, questionGroups, questions, saveAndNext, setAccepted, setCurrent, setMCQ, setNatInput, setShowCalc, setShowConfirm, setShowFsWarning, setShowPalette, showCalc, showConfirm, showFsWarning, showPalette, started, starting, subjects, submitting, test, toggleMSQ, totalViolations, visited, } = engine const sidebar = ( ) return (
setShowConfirm(true)} questions={questions} setCurrent={setCurrent} setShowCalc={setShowCalc} showCalc={showCalc} subjects={subjects} submitting={submitting} test={test} totalViolations={totalViolations} />
{sidebar}
{sidebar}
) }