Fixed route in view

This commit is contained in:
MaxOvs19
2023-05-16 21:09:28 +03:00
parent 34be4eec32
commit 61d52fae50
2 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,6 @@ export const ViewReport = () => {
"cardId"
)}&date=${day}`
).then((res) => {
console.log(res);
let spendTime = 0;
for (const item of res) {
if (item.difficulties) {
@ -122,6 +121,7 @@ export const ViewReport = () => {
</div>
</div>
<div className="viewReport__switchDate">
<Link></Link>
<div
className="viewReport__switchDate__prev switchDate"
onClick={() => previousDay()}