Re fetch an enabled tRPC query.
Hi, im running into an issue where I want to refetch a query that lists all users when a new user is added, but it only refetches when the query is disabled. this is some code I have for it.
I tried to do the button like this but for whatever reason it only works if i have the query disabled
Any help/suggestions on how to fix this would be greatly appreciated
I tried to do the button like this but for whatever reason it only works if i have the query disabled
Any help/suggestions on how to fix this would be greatly appreciated