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(
+ {loader && }
{Boolean(taskText.length) && (
diff --git a/src/pages/ViewReport/ViewReport.jsx b/src/pages/ViewReport/ViewReport.jsx
index dde62a4b..df84fca4 100644
--- a/src/pages/ViewReport/ViewReport.jsx
+++ b/src/pages/ViewReport/ViewReport.jsx
@@ -45,9 +45,7 @@ export const ViewReport = () => {
"cardId"
)}&date=${day}`
).then((res) => {
- console.log(res);
let spendTime = 0;
-
for (const item of res) {
if (item.difficulties) {
setDifficulties((prevArray) => [...prevArray, item.difficulties]);