added server auth and protected routes

This commit is contained in:
kurpfish
2021-08-04 13:04:05 +03:00
parent f42f7a9f71
commit e4ec5fd091
6 changed files with 181 additions and 113 deletions

View File

@ -19,7 +19,7 @@ const Calendar = () => {
const { name, skillsName } = candidateForCalendar;
const abbreviatedName = name.substring(0, name.lastIndexOf(' '));
const abbreviatedName = name && name.substring(0, name.lastIndexOf(' '));
return (
<section className={style.calendar}>