finished report page
This commit is contained in:
@ -78,7 +78,7 @@ const CalendarComponent = () => {
|
||||
id="btn"
|
||||
>
|
||||
<img className={style.calendarIcon} src={calendarIcon} alt="" />
|
||||
{currentMonthAndDay()}
|
||||
{currentMonthAndDay(day)}
|
||||
</button>
|
||||
))
|
||||
)}
|
||||
|
@ -26,10 +26,10 @@ export function currentMonth() {
|
||||
return currentMonth.charAt(0).toUpperCase() + currentMonth.slice(1);
|
||||
}
|
||||
|
||||
// export function currentMonthAndDay(day) {
|
||||
// return day.format('D MMMM');
|
||||
// }
|
||||
export function currentMonthAndDay(day) {
|
||||
return day.format('D MMMM');
|
||||
}
|
||||
|
||||
export function currentMonthAndDay() {
|
||||
export function currentMonthAndDayReportPage() {
|
||||
return moment().format('D MMMM');
|
||||
}
|
||||
|
Reference in New Issue
Block a user