Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 16740 Rev 16741
Línea 1... Línea 1...
1
import React, { useEffect, useState } from 'react'
1
import React, { useEffect, useState } from 'react'
2
import parse from 'html-react-parser'
2
import parse from 'html-react-parser'
Línea 3... Línea 3...
3
 
3
 
4
import SurveyForm from './SurveyForm'
4
import SurveyForm from './survey/SurveyForm'
5
import CommentForm from './CommentForm'
5
import CommentForm from './CommentForm'
6
import CommentsList from './CommentsList'
6
import CommentsList from './CommentsList'
7
import Options from '../../shared/options/Options'
7
import Options from '../../shared/options/Options'
Línea 153... Línea 153...
153
            description.answer2,
153
            description.answer2,
154
            description.answer3,
154
            description.answer3,
155
            description.answer4,
155
            description.answer4,
156
            description.answer5
156
            description.answer5
157
          ]}
157
          ]}
-
 
158
          votes={
-
 
159
            description.votes1 && [
-
 
160
              description.votes1,
-
 
161
              description.votes2,
-
 
162
              description.votes3,
-
 
163
              description.votes4,
-
 
164
              description.votes5
-
 
165
            ]
-
 
166
          }
158
          time={description.time_remaining}
167
          time={description.time_remaining}
-
 
168
          resultType={description.result_type}
159
        />
169
        />
160
      )}
170
      )}
161
      {image && (
171
      {image && (
162
        <div className={styles.img_container}>
172
        <div className={styles.img_container}>
163
          <img src={image} alt="Article image" />
173
          <img src={image} alt="Article image" />