calendar range days
This commit is contained in:
parent
58b8119569
commit
ff2bd020e8
@ -43,7 +43,7 @@ export const ProfileCalendar = () => {
|
||||
}
|
||||
|
||||
function toggleStartRangeDays() {
|
||||
setStartRangeDays(!startRangeDays)
|
||||
setStartRangeDays(!startRangeDays);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
@ -31,7 +31,14 @@ import rectangle from "assets/images/rectangle__calendar.png";
|
||||
|
||||
// eslint-disable-next-line react/display-name
|
||||
export const ProfileCalendarComponent = React.memo(
|
||||
({ value, setValueHandler, reports, totalHours, startRangeDays, toggleRangeDays }) => {
|
||||
({
|
||||
value,
|
||||
setValueHandler,
|
||||
reports,
|
||||
totalHours,
|
||||
startRangeDays,
|
||||
toggleRangeDays,
|
||||
}) => {
|
||||
const dispatch = useDispatch();
|
||||
|
||||
const [currentDay] = useState(moment());
|
||||
|
Loading…
Reference in New Issue
Block a user