StudentProfile component.

This component is responsible for rendering the profile of a student. It performs the following operations:

  1. Fetches the user data from the UserContext.
  2. Renders the user's profile information using the ProfileInfo component.
  3. Renders the user's student group.
  4. Provides a button to navigate to the student's courses.

If no user data is available, it renders a message indicating that no user data is available.

  • Parameters

    • props: {}

    Returns ReactNode | Promise<ReactNode>

    A JSX element representing the student profile component.