fix errors, change logo

This commit is contained in:
Victor Batischev
2023-12-04 18:01:04 +03:00
parent 887656da3b
commit 5bfc953ecc
33 changed files with 139 additions and 136 deletions

View File

@ -89,7 +89,7 @@ const CalendarComponent = ({ onSelect }) => {
<img className={"calendar__icon"} src={calendarIcon} alt="" />
{currentMonthAndDay(day)}
</button>
))
)),
)}
</div>
</div>

View File

@ -17,7 +17,7 @@ export function calendarHelper(value) {
calendar.push(
Array(1)
.fill(0)
.map(() => day.add(1, "day").clone())
.map(() => day.add(1, "day").clone()),
);
}
@ -45,7 +45,7 @@ export function getReports(value) {
export function getCreatedDate(day) {
if (day) {
return `${new Date(day).getFullYear()}-${correctDay(
new Date(day).getMonth() + 1
new Date(day).getMonth() + 1,
)}-${correctDay(new Date(day).getDate())}`;
} else {
const date = new Date();