Skip to content

Commit

Permalink
feat: availability tab with calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
01001110J authored and AuraAlba committed Dec 23, 2024
1 parent d2b3433 commit 02e93cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/features/Instructors/InstructorsDetailPage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ const InstructorsDetailPage = () => {

useEffect(() => {
if (instructorInfo.instructorId && showInstructorCalendar) {
dispatch(fetchEventsData({ ...rangeDates, instructor_id: instructorInfo.instructorId }));
dispatch(fetchEventsData({
...rangeDates,
instructor_id: instructorInfo.instructorId,
}));
}

return () => {
Expand Down

0 comments on commit 02e93cf

Please sign in to comment.