Describe the bug
When a user navigates to a mentor profile they have already applied for, the "Apply" button is still visible, leading to confusion and potential duplicate applications.
To Reproduce
Steps to reproduce the behavior:
Go to the Home Page.
Click on your profile picture.
Navigate to the Dashboard.
View your list of applied mentors.
Click on a mentor profile that you have already applied for.
Observe that the "Apply" button is still present.
Expected behavior
When a user views a mentor profile they have already applied for, an alert message should be displayed stating "You have already applied for this mentor."
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: Linux Mint 21.3
Browser Firefox
Version 127.0.2
Additional context
Ensuring this feature is integrated seamlessly with the current user interface is important for a smooth user experience. This will prevent confusion and streamline the application process for users.
Describe the bug When a user navigates to a mentor profile they have already applied for, the "Apply" button is still visible, leading to confusion and potential duplicate applications.
To Reproduce Steps to reproduce the behavior:
Expected behavior When a user views a mentor profile they have already applied for, an alert message should be displayed stating "You have already applied for this mentor."
Screenshots If applicable, add screenshots to help explain your problem.![apply button issue](https://github.com/sef-global/scholarx-frontend/assets/48531182/e0d8e286-bfc4-4aee-8651-32b392772e75)
Desktop (please complete the following information):
Additional context Ensuring this feature is integrated seamlessly with the current user interface is important for a smooth user experience. This will prevent confusion and streamline the application process for users.
Are you working on it? No