File tree Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Expand file tree Collapse file tree 4 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,12 @@ const IitjTree = ({ data }) => {
6060 < ul >
6161 { treeDatas . map ( ( item , index ) =>
6262 < li className = { item . name + index } key = { index } >
63- < div className = { item . rollNo == 'B22AI063' ? "container_JYOTIN " : "container" }
63+ < div className = { item . rollNo === 'B22AI063' ? "container_JYOTIN " : "container" }
6464 // "container ${item.rollNo}"
6565 >
6666 < div
6767 // className="container_info"
68- className = { item . rollNo == 'B22AI063' ? "container_info_JYOTIN " : "container_info" }
68+ className = { item . rollNo === 'B22AI063' ? "container_info_JYOTIN " : "container_info" }
6969 >
7070 < div className = "hovertext" onClick = { ( ) => toggleModal ( item . rollNo ) } > { item . name . slice ( 0 , 15 ) + '' } </ div >
7171 < div className = "info" >
Original file line number Diff line number Diff line change 11import React from 'react'
22import '../assets/Style/profile.css'
33import { Link } from "react-router-dom" ;
4- import { AiOutlineCloseCircle } from 'react-icons/ai' ;
54import { FaLinkedin } from 'react-icons/fa' ;
65import { useQuery , gql } from "@apollo/client" ;
76import { FaChevronRight } from 'react-icons/fa' ;
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ const Team = ({ team, teamshow }) => {
1616 < AiOutlineCloseCircle style = { { fontSize : '2rem' , } } onClick = { team } className = 'closeshomepro' />
1717 < p > Ashutosh kumar (B22CS015)</ p >
1818 < div className = 'iconsocialmedia' >
19- < a href = 'https://www.linkedin.com/in/ashutosh-kumar-5aa3b3259/' target = '_blank' >
19+ < a href = 'https://www.linkedin.com/in/ashutosh-kumar-5aa3b3259/' target = '_blank' rel = "noreferrer" >
2020 < FaLinkedin style = { { fontSize : '2rem' , color : 'white' } } onClick = { team } />
2121 </ a >
22- < a href = 'https://github.com/a19hu/' target = '_blank' >
22+ < a href = 'https://github.com/a19hu/' target = '_blank' rel = "noreferrer" >
2323 < FaGithub style = { { fontSize : '2rem' , color : 'white' } } onClick = { team } />
2424 </ a >
2525 </ div >
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ const ImageTree = ({ data }) => {
1313 img : logo
1414 } ] ;
1515 const links = [ ] ;
16- var image ;
16+ // var image;
1717 if ( data [ 0 ] ) {
1818
19- image = data [ 0 ] . picture . replace ( 'open' , 'thumbnail' )
19+ // image = data[0].picture.replace('open', 'thumbnail')
2020 }
2121
2222 const processNode = ( node , parentId ) => {
You can’t perform that action at this time.
0 commit comments