avatar url fix

This commit is contained in:
kurpfish 2021-08-16 17:59:22 +03:00
parent 58e6c32338
commit 3fe7db3414
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ const Calendar = () => {
</h2> </h2>
<div className="col-12 col-xl-12 d-flex justify-content-between align-items-center flex-column flex-sm-row"> <div className="col-12 col-xl-12 d-flex justify-content-between align-items-center flex-column flex-sm-row">
<div className={style.calendarHeader__info}> <div className={style.calendarHeader__info}>
<img className={style.calendarHeader__info__img} src={`${process.env.REACT_APP_BASE_URL}${photo}`} alt="img" /> <img className={style.calendarHeader__info__img} src={photo} alt="img" />
<h3 className={style.calendarHeader__info__name}>{abbreviatedName}</h3> <h3 className={style.calendarHeader__info__name}>{abbreviatedName}</h3>
</div> </div>
<div className={style.calendarHeader__title}> <div className={style.calendarHeader__title}>

View File

@ -27,7 +27,7 @@ const Description = ({ onLoadMore }) => {
candidatesListArr.map((el) => ( candidatesListArr.map((el) => (
<div className="row" key={el.id}> <div className="row" key={el.id}>
<div className="col-2"> <div className="col-2">
<img className={style.description__img} src={el.photo}} alt="" /> <img className={style.description__img} src={el.photo} alt="" />
</div> </div>
<div className="col-12 col-xl-6"> <div className="col-12 col-xl-6">
<h3 className={style.description__title}> <h3 className={style.description__title}>