Finish working in report page
This commit is contained in:
parent
b45dc0283c
commit
152d4a257f
@ -135,15 +135,14 @@ export const ViewReport = () => {
|
||||
|
||||
<p>{getCorrectDate(dateReport.id)}</p>
|
||||
|
||||
<div onClick={() => nextDay()}>
|
||||
<div
|
||||
onClick={() => nextDay()}
|
||||
className={`${
|
||||
getCreatedDate(currentDay) === dateReport.id ? "disable" : ""
|
||||
}`}
|
||||
>
|
||||
<Link to={`../view/${getCreatedDate(nextReportDay)}`}>
|
||||
<div
|
||||
className={`viewReport__switchDate__next switchDate ${
|
||||
getCreatedDate(currentDay) === getCreatedDate(nextReportDay)
|
||||
? "disable"
|
||||
: ""
|
||||
}`}
|
||||
>
|
||||
<div className={`viewReport__switchDate__next switchDate`}>
|
||||
<img src={arrowSwitchDate} alt="arrow" />
|
||||
</div>
|
||||
</Link>
|
||||
|
Loading…
Reference in New Issue
Block a user