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

watchlist and private tags pagination #1333

Merged
merged 1 commit into from
Nov 8, 2023
Merged

watchlist and private tags pagination #1333

merged 1 commit into from
Nov 8, 2023

Conversation

isstuev
Copy link
Collaborator

@isstuev isstuev commented Nov 6, 2023

resolves #1264

@isstuev isstuev force-pushed the acc-pagination branch 2 times, most recently from aa6dd35 to 4a30d1e Compare November 6, 2023 20:27
@isstuev isstuev marked this pull request as ready for review November 6, 2023 21:39
@isstuev isstuev requested a review from tom2drum November 6, 2023 23:16
});
} else {
queryClient.setQueryData([ resourceKey('private_tags_tx') ], (prevData: TransactionTags | undefined) => {
return prevData?.filter((item: TransactionTag) => item.id !== id);
queryClient.setQueryData([ resourceKey('private_tags_tx') ], (prevData: TransactionTagsResponse | undefined) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should use getResourceKey here as well

@tom2drum tom2drum merged commit a8c723c into main Nov 8, 2023
6 checks passed
@tom2drum tom2drum deleted the acc-pagination branch November 8, 2023 13:12
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.

Paginated account resources
3 participants