avatar url fix
This commit is contained in:
parent
701a606a54
commit
58e6c32338
@ -27,7 +27,7 @@ const Description = ({ onLoadMore }) => {
|
||||
candidatesListArr.map((el) => (
|
||||
<div className="row" key={el.id}>
|
||||
<div className="col-2">
|
||||
<img className={style.description__img} src={`${process.env.REACT_APP_BASE_URL}${el.photo}`} alt="" />
|
||||
<img className={style.description__img} src={el.photo}} alt="" />
|
||||
</div>
|
||||
<div className="col-12 col-xl-6">
|
||||
<h3 className={style.description__title}>
|
||||
@ -84,7 +84,7 @@ const Description = ({ onLoadMore }) => {
|
||||
? filteredListArr.map((el) => (
|
||||
<div className="row" key={el.id}>
|
||||
<div className="col-2">
|
||||
<img className={style.description__img} src={`${process.env.REACT_APP_BASE_URL}${el.photo}`} alt="" />
|
||||
<img className={style.description__img} src={el.photo} alt="" />
|
||||
</div>
|
||||
<div className="col-12 col-xl-6">
|
||||
<h3 className={style.description__title}>
|
||||
|
@ -19,7 +19,7 @@ const Sidebar = ({ candidate }) => {
|
||||
return (
|
||||
<div className={style.candidateSidebar}>
|
||||
<div className={style.candidateSidebar__info}>
|
||||
<img src={`${process.env.REACT_APP_BASE_URL}${candidate.photo}`} alt="" />
|
||||
<img src={candidate.photo} alt="" />
|
||||
{ candidate && candidate.years_of_exp && <>
|
||||
<p className={style.candidateSidebar__info__e}>Опыт работы</p>
|
||||
<p className={style.candidateSidebar__info__y}>{getYearsString(candidate.years_of_exp)}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user