File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed
client/src/components/SeekerProfile Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -164,16 +164,22 @@ class SeekerProfile extends React.Component {
164164 </ OpenStyle >
165165 </ OpenContainer >
166166 { this . props . currentSignedInUser ? (
167- < Info >
168- < div className = "info" >
169- < img src = { emailPic } alt = "paper plane" />
170- < p > { this . state . email } </ p >
171- </ div >
172- < div className = "info" >
173- < img src = { phonePic } alt = "phone number" />
174- < p > { this . state . phoneNumber } </ p >
175- </ div >
176- </ Info >
167+ this . props . currentSignedInUser . role === 'company' ? (
168+ < Info >
169+ < div className = "info" >
170+ < img src = { emailPic } alt = "paper plane" />
171+ < p > { this . state . email } </ p >
172+ </ div >
173+ < div className = "info" >
174+ < img src = { phonePic } alt = "phone number" />
175+ < p > { this . state . phoneNumber } </ p >
176+ </ div >
177+ </ Info >
178+ ) : (
179+ < SignEmployer >
180+ < p onClick = { this . signUpEmployer } > Sign Up Employer</ p >
181+ </ SignEmployer >
182+ )
177183 ) : (
178184 < SignEmployer >
179185 < p onClick = { this . signUpEmployer } > Sign Up Employer</ p >
You can’t perform that action at this time.
0 commit comments