File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/commons/assessmentWorkspace Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ const AssessmentWorkspace: React.FC<AssessmentWorkspaceProps> = props => {
9696 const [ sessionId , setSessionId ] = useState ( '' ) ;
9797 const [ isSubmitted , setIsSubmitted ] = useState ( false ) ;
9898 const { isMobileBreakpoint } = useResponsive ( ) ;
99+ console . log ( props ) ;
99100
100101 const assessment = useTypedSelector ( state => state . session . assessments [ props . assessmentId ] ) ;
101102 const assessmentOverviews = useTypedSelector ( state => state . session . assessmentOverviews ) ;
@@ -602,8 +603,6 @@ const AssessmentWorkspace: React.FC<AssessmentWorkspaceProps> = props => {
602603 } ;
603604 const onClickReturn = ( ) => navigate ( listingPath ) ;
604605 const onClickSubmit = ( ) => {
605- if ( props . notAttempted ) return ;
606-
607606 dispatch ( SessionActions . submitAssessment ( assessment . id ) ) ;
608607 setIsSubmitted ( true ) ;
609608 } ;
You can’t perform that action at this time.
0 commit comments