File tree Expand file tree Collapse file tree
frontend/src/pages/Mentor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const MentorBaremPage = () => {
3434 } ,
3535 enabled : ! ! params . id ,
3636 } ) ;
37- const isLeader = params ?. candidateId === candidates ?. leader . id ;
37+ const isLeader = params ?. candidateId === candidates ?. leader ? .id ;
3838 // console.log("isLeader", params?.candidateId, isLeader);
3939
4040 const [ candidateActive , setcandidateActive ] = useState < CandidateType | undefined > ( undefined ) ;
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ const Team = ({ team }: { team: TeamType }) => {
3535 < div className = "flex flex-wrap items-center gap-2" >
3636 < ShowTopic urlPdf = { team . topic . filePath } name = { team . topic . title } />
3737 < ChoiceLeader team = { team } />
38+ < ShowTopic urlPdf = { team . topic . filePath } name = { team . topic . title } />
3839
3940 { /* <Link to={`/mentor/team/${team.id}`}>
4041 <Button
You can’t perform that action at this time.
0 commit comments