From 701a606a540db5dcb4c0a5eccbd28d8aee1d2664 Mon Sep 17 00:00:00 2001 From: kurpfish Date: Mon, 16 Aug 2021 17:51:42 +0300 Subject: [PATCH] avatars --- src/components/Calendar/Calendar.js | 4 ++-- src/components/Description/Description.js | 4 ++-- src/components/Sidebar/Sidebar.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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)}