diff --git a/src/components/Calendar/Calendar.js b/src/components/Calendar/Calendar.js index 55493358..fd80f55e 100644 --- a/src/components/Calendar/Calendar.js +++ b/src/components/Calendar/Calendar.js @@ -17,7 +17,7 @@ const Calendar = () => { setMonth(currentMonth); }, [month]); - const { name, skillsName } = candidateForCalendar; + const { name, skillsName, photo } = candidateForCalendar; const abbreviatedName = name && name.substring(0, name.lastIndexOf(' ')); @@ -30,7 +30,7 @@ const Calendar = () => {
- img + img

{abbreviatedName}

diff --git a/src/components/Description/Description.js b/src/components/Description/Description.js index 349db46c..0cea6f1c 100644 --- a/src/components/Description/Description.js +++ b/src/components/Description/Description.js @@ -27,7 +27,7 @@ const Description = ({ onLoadMore }) => { candidatesListArr.map((el) => (
- +

@@ -84,7 +84,7 @@ const Description = ({ onLoadMore }) => { ? filteredListArr.map((el) => (
- +

diff --git a/src/components/Sidebar/Sidebar.js b/src/components/Sidebar/Sidebar.js index 8babdcd9..e672c67c 100644 --- a/src/components/Sidebar/Sidebar.js +++ b/src/components/Sidebar/Sidebar.js @@ -19,7 +19,7 @@ const Sidebar = ({ candidate }) => { return (
- + { candidate && candidate.years_of_exp && <>

Опыт работы

{getYearsString(candidate.years_of_exp)}