@@ -18,6 +18,7 @@ import TextProblemModal from './textProblemModal'
1818import CodeProblemModal from './codeProblemModal'
1919import MultipleChoiceModal from './multipleChoiceModal'
2020import AssignmentProblemListItem from 'components/listItems/assignmentProblemListItem'
21+ // import MatchingTableInstructorPage from 'components/pages/Multiplechoice/MatchingTableInstructorPage'
2122
2223
2324
@@ -31,6 +32,7 @@ const AssignmentUpdatePage = () => {
3132 const [ assignmentProblems , setAssignmentProblems ] = useState < AssignmentProblem [ ] > ( [ ] )
3233 const [ nonContainerAutograders , setNonContainerAutograders ] = useState < NonContainerAutoGrader [ ] > ( [ ] )
3334 const [ containerAutograders , setContainerAutograders ] = useState < ContainerAutoGrader [ ] > ( [ ] )
35+
3436
3537 const [ mcqProblemId , setMcqProblemId ] = useState < number > ( )
3638 const [ textProblemId , setTextProblemId ] = useState < number > ( )
@@ -383,6 +385,9 @@ const AssignmentUpdatePage = () => {
383385 < Button onClick = { ( ) => setCodeModal ( true ) } className = 'btnSecondary' > Code/File Input</ Button >
384386 < Button onClick = { ( ) => setTextModal ( true ) } className = 'btnSecondary' > Text Input</ Button >
385387 < Button onClick = { ( ) => setMcqModal ( true ) } className = 'btnSecondary' > Multiple Choice</ Button >
388+ < Button onClick = { ( ) => {
389+ history . push ( `/matching/instructor` )
390+ } } className = 'btnSecondary' > Matching Table</ Button >
386391 </ div >
387392 < h2 className = { styles . header } > Add Graders</ h2 >
388393 < div className = { styles . buttonContainer } >
0 commit comments