-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX : mine page no task found issue #747
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…tatus into fix/mine-page
This issue is related to useAuthenticated custom hook and @kotesh-arya is working on it (issue ticket #746 ) |
src/pages/mine/index.tsx
Outdated
@@ -30,7 +30,7 @@ const Content = () => { | |||
|
|||
if (isLoading) return <p>Loading...</p>; | |||
if (error) return <p>Something went wrong! Please contact admin</p>; | |||
if (tasks && tasks.tasks?.length) | |||
if (tasks && tasks.length) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes its work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes: #748
Description of Changes:
This pull request aims to address the issue of tasks not being displayed on the mine page in our platform. The problem is likely due to a bug in the tasks API, and this PR includes the necessary changes to rectify the situation.
Changes Made:
Test Coverage:
To ensure the correctness and robustness of the changes made, relevant tests have been added to cover the following scenarios:
Anything you would like to inform the reviewer about:
Dev Tested:
Images/video of the change:
mine-fix.mp4
Follow-up Issues (if any)