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

refactor(datatrak): RN-1543: clean up useUserCountries interface #6067

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

jaskfla
Copy link
Contributor

@jaskfla jaskfla commented Jan 22, 2025

Instead of picking UseQueryOptions one-by-one to pass through as separate parameters, now just bring the entire options object through

All existing behaviour preserved. A bit easier to set overrides in code now

Tightened up the typing, which should flow through quite well to the consumers

@jaskfla jaskfla changed the title refactor(datatrak): clean up useUserCountries interface refactor(datatrak): RN-1543: clean up useUserCountries interface Jan 22, 2025
Copy link
Contributor

@tcaiger tcaiger left a comment

Choose a reason for hiding this comment

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

Much more consistent - nice!

@jaskfla jaskfla merged commit 6557072 into rn-1543-country-selector Jan 22, 2025
44 checks passed
@jaskfla jaskfla deleted the rn-1543-country-selector-1 branch January 22, 2025 22:20
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