Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

fix(pagination): use pages computed in connector #978

Merged
merged 4 commits into from
Nov 8, 2022

Conversation

flevi29
Copy link
Contributor

@flevi29 flevi29 commented Nov 7, 2022

Fixes #977

@netlify
Copy link

netlify bot commented Nov 7, 2022

Deploy Preview for angular-instantsearch ready!

Name Link
🔨 Latest commit cf43b9e
🔍 Latest deploy log https://app.netlify.com/sites/angular-instantsearch/deploys/636963d4566c890008fb63a6
😎 Deploy Preview https://deploy-preview-978--angular-instantsearch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Haroenv
Copy link
Contributor

Haroenv commented Nov 7, 2022

this seems correct, but the tests were likely mocking state and thus aren't correct yet

@flevi29
Copy link
Contributor Author

flevi29 commented Nov 7, 2022

I am on Windows, and I can see there are some .sh scripts for testing. Jest is not working for me. Also I am not familiar with Jest snapshots, but I might take another look at it later.

@flevi29
Copy link
Contributor Author

flevi29 commented Nov 7, 2022

Looks like the tests passed, do I need to do anything else?

Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

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

thanks a lot!

@Haroenv Haroenv changed the title fix: use pages property of state in pagination.ts fix(pagination): use pages computed in connector Nov 8, 2022
@Haroenv Haroenv merged commit f31a01f into algolia:master Nov 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants