Skip to content
Discussion options

You must be logged in to vote

Ok I figured out what the issue was, it seems it was caused by refetch inside my setColumnFilters. I have no idea why this would break the whole thing. My refetch function comes from @apollo/client.

I commented it and the console.log was working as usual.
I have no idea why in my sub-component, it did not have this impact but outside it did.

I had to remove it and refactor the way I am refetching my query based on the changes.
But this is an odd behavior.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@simplecommerce
Comment options

Answer selected by simplecommerce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant