Skip to content

Commit de7804f

Browse files
test
1 parent a976456 commit de7804f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/Components/Calendar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ function LessonCalendar() {
2121
const [showProgress, setShowProgress] = useState(true); // Toggle progress tracker display
2222

2323
// Sample unscheduled tasks (UC8)
24-
const [unscheduledTasks, setUnscheduledTasks] = useState([
24+
const [unscheduledTasks] = useState([
2525
{ id: 1, title: "Math Tutoring (Draft)", type: "Lesson" },
2626
{ id: 2, title: "Reading Club Prep", type: "Meeting" },
2727
{ id: 3, title: "Coding Practice Session", type: "Practice" },
2828
]);
2929

3030
// Sample events to display on the calendar
31-
const [events, setEvents] = useState([
31+
const [events] = useState([
3232
{ date: new Date(), title: "Math Tutoring w/ Mr. Smith" },
3333
{ date: new Date(Date.now() + 86400000), title: "Biology Lab" },
3434
{ date: new Date(Date.now() + 2 * 86400000), title: "History Discussion" },

frontend/src/Components/FilterDropdown.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const FilterDropdown = ({
2323
};
2424

2525
// Handles blur event with delay to allow dropdown to remain open in Chrome
26-
const handleDropdownBlur = (e, dropdown) => {
26+
const handleDropdownBlur = (e) => {
2727
setTimeout(() => {
2828
// Close the dropdown only if the next focused element is outside the dropdown
2929
if (!e.currentTarget.contains(e.relatedTarget)) {

0 commit comments

Comments
 (0)