diff --git a/src/components/ProfileCalendar/ProfileCalendarComponent.js b/src/components/ProfileCalendar/ProfileCalendarComponent.js index 1e57cea5..f3397f75 100644 --- a/src/components/ProfileCalendar/ProfileCalendarComponent.js +++ b/src/components/ProfileCalendar/ProfileCalendarComponent.js @@ -24,10 +24,10 @@ import "./../Calendar/calendarComponent.scss"; export const ProfileCalendarComponent = React.memo( ({ value, setValueHandler, reports, totalHours }) => { const dispatch = useDispatch(); + const [currentDay] = useState(moment()); const [calendar, setCalendar] = useState([]); const [month, setMonth] = useState(""); - const [dayReport, setDayReport] = useState(""); const [shortReport, setShortReport] = useState(false); useEffect(() => { @@ -146,20 +146,15 @@ export const ProfileCalendarComponent = React.memo(