useQuery not updating after query key changing in custom hook
Hi all, thank you for your time.
I'm composing a custom hook to retrieve an array in this manner. I realized that destructured data returning from useQuery was not being updated on query key changes when pageUp or down is called. Could anyone point out my mistake?
0 Replies