Skip to content
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 pagination bug #65

Merged

Conversation

Samstar10
Copy link
Contributor

Requirements

  • This PR has a title that briefly describes the work done including a conventional commit type prefix and a Jira ticket number if applicable. See existing PR titles for inspiration.

For changes to apps

If applicable

  • My work includes tests or is validated by existing tests.

Summary

@Michaelndula @PiusKariuki please review.

Screenshots

Related Issue

Other

if (data.results.length > 0) {
setData(prev => [...prev, ...data.results.map(result => ({
// const getOPDVisits = async ({page, size}) => {
// try {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Samstar10 please clean up this section.
Or is there something that you are still working on this section?
cc: @PiusKariuki

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes @Michaelndula , there is something I am still working and using that block of code as a reference.

@Michaelndula Michaelndula merged commit 453af81 into IntelliSOFT-Consulting:main Aug 23, 2024
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants