-
Notifications
You must be signed in to change notification settings - Fork 437
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
Replace useDispatch w. useQuery/request: Consultations #6372 #6484
Conversation
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@rithviknishad can you review this PR? |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Also, do remove no longer used actions from actions.tsx
@AshrafMd-1 any updates on this? |
Some small issues related to pagination and request. So I will push a PR with all issues resolved in 2-3 days. |
👋 Hi, @AshrafMd-1, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
Hey @AshrafMd-1 any updates on this? |
yup done |
LGTM |
WHAT
🤖 Generated by Copilot at 48aff69
Refactored several components related to consultations and daily rounds to use a common
PaginatedList
component and arequest
helper function, which simplify the code and improve the pagination functionality and error handling. Added types to some API routes and data models to enhance type safety and readability. Moved some files to different folders to reflect their new roles.Proposed Changes
useDispatch
w.useQuery
/request
: Consultations (src/Components/Facility/Consultations/**
) #6372@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 48aff69
useContextualized
hook to be more generic and accurate (link)models.tsx
andapi.tsx
files (link, link, link, link, link)