Bugs fixed

This commit is contained in:
MaxOvs19 committed 2023-05-18 19:52:37 +03:00
1 parent 973f140451
commit c62ae06d20
3 files changed
+7 -11

No files matched your search

-2
View File
@@ -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]);