StudentCourseAttendance component.

This component is responsible for rendering the attendance records for a student in a specific course. It performs the following operations:

  1. Fetches the usercourseid from the URL.
  2. Fetches the attendance data for the course from the API.
  3. Renders the attendance records in a table using the AttendanceTable component.
  4. Provides an option to view attendance statistics using the AttendanceStatsTable component.
  5. Provides an option to filter the attendance records by date and topic.

If an error occurs while fetching the attendance data, it renders an error message.