Fixed nextDay
This commit is contained in:
1 parent
0de6c43fe1
commit
b45dc0283c
2 files changed
+13
-30
No files matched your search
@@ -65,19 +65,6 @@ export const ProfileCalendarComponent = React.memo(
|
||||
return "pass";
|
||||
}
|
||||
|
||||
// function correctRoute(day) {
|
||||
// for (const date of reports) {
|
||||
// if (
|
||||
// `${new Date(day).getFullYear()}-${correctDay(
|
||||
// new Date(day).getMonth() + 1
|
||||
// )}-${correctDay(new Date(day).getDate())}` === date.created_at
|
||||
// ) {
|
||||
// return `../view/${day}`;
|
||||
// }
|
||||
// }
|
||||
// return "../../report";
|
||||
// }
|
||||
|
||||
function correctRoute(day) {
|
||||
for (const date of reports) {
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user