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 }) => {
60
60
< ul >
61
61
{ treeDatas . map ( ( item , index ) =>
62
62
< 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" }
64
64
// "container ${item.rollNo}"
65
65
>
66
66
< div
67
67
// className="container_info"
68
- className = { item . rollNo == 'B22AI063' ? "container_info_JYOTIN " : "container_info" }
68
+ className = { item . rollNo === 'B22AI063' ? "container_info_JYOTIN " : "container_info" }
69
69
>
70
70
< div className = "hovertext" onClick = { ( ) => toggleModal ( item . rollNo ) } > { item . name . slice ( 0 , 15 ) + '' } </ div >
71
71
< div className = "info" >
Original file line number Diff line number Diff line change 1
1
import React from 'react'
2
2
import '../assets/Style/profile.css'
3
3
import { Link } from "react-router-dom" ;
4
- import { AiOutlineCloseCircle } from 'react-icons/ai' ;
5
4
import { FaLinkedin } from 'react-icons/fa' ;
6
5
import { useQuery , gql } from "@apollo/client" ;
7
6
import { FaChevronRight } from 'react-icons/fa' ;
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ const Team = ({ team, teamshow }) => {
16
16
< AiOutlineCloseCircle style = { { fontSize : '2rem' , } } onClick = { team } className = 'closeshomepro' />
17
17
< p > Ashutosh kumar (B22CS015)</ p >
18
18
< 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" >
20
20
< FaLinkedin style = { { fontSize : '2rem' , color : 'white' } } onClick = { team } />
21
21
</ a >
22
- < a href = 'https://github.com/a19hu/' target = '_blank' >
22
+ < a href = 'https://github.com/a19hu/' target = '_blank' rel = "noreferrer" >
23
23
< FaGithub style = { { fontSize : '2rem' , color : 'white' } } onClick = { team } />
24
24
</ a >
25
25
</ div >
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ const ImageTree = ({ data }) => {
13
13
img : logo
14
14
} ] ;
15
15
const links = [ ] ;
16
- var image ;
16
+ // var image;
17
17
if ( data [ 0 ] ) {
18
18
19
- image = data [ 0 ] . picture . replace ( 'open' , 'thumbnail' )
19
+ // image = data[0].picture.replace('open', 'thumbnail')
20
20
}
21
21
22
22
const processNode = ( node , parentId ) => {
You can’t perform that action at this time.
0 commit comments