Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 561 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 561 Rev 565
Línea 2... Línea 2...
2
import Question from "../question/Question";
2
import Question from "../question/Question";
Línea 3... Línea 3...
3
 
3
 
Línea 4... Línea 4...
4
const Section = (props) => {
4
const Section = (props) => {
5
 
5
 
Línea 6... Línea 6...
6
    // get props
6
    // get props
7
    const { section, backendVars, handleAnswer, page, setPage, total, index  } = props;
7
    const { section, backendVars, page, setPage, total, index  } = props;
Línea 63... Línea 63...
63
                            {section.questions.map((question, i) => {
63
                            {section.questions.map((question, i) => {
64
                                return <Question
64
                                return <Question
65
                                    question={question}
65
                                    question={question}
66
                                    key={i}
66
                                    key={i}
67
                                    backendVars={backendVars}
67
                                    backendVars={backendVars}
68
                                    handleAnswer={handleAnswer}
-
 
69
                                />;
68
                                />;
70
                            })}
69
                            })}
71
                        </div>
70
                        </div>
72
                        <div className="row">
71
                        <div className="row">
73
                            {errors.length > 0 &&
72
                            {errors.length > 0 &&