Skip to content

Commit

Permalink
rm dup
Browse files Browse the repository at this point in the history
  • Loading branch information
tfhuhtal committed Oct 10, 2024
1 parent 766ecab commit e02d6b0
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,11 @@ const Answer = ({ question, faculty }) => {
return null
}

const radioAnswer = `${facultyAnswers[`${question.id}_degree_radio`]}` || null
const translationKey = `trackingPage:${radioAnswer}`
const translationValue = t(translationKey)

return (
<>
<h4>{`${question.id?.startsWith('T') ? question.id.slice(1) : question.id}. ${question.label[lang]}`}</h4>
<div className="answer-container">
<div>
<div>
<i>
{`${t('trackingPage:selectDegree')}: `}
{translationValue}
</i>
</div>
<i>{t(`formView:monitoringTrackingLabel`)}</i>
<div className="light-container">
{lightsHistory.length > 0 ? (
Expand Down

0 comments on commit e02d6b0

Please sign in to comment.