Why useDelete calls getIdentity from auth-provider?
Hey there. I'm facing a wired problem. I have a table that has an
Why
This is the delete button, just calls
actions column with a delete button that calls useDelete under the hood. Apparantly each time this button rendered (for each row) it calls ["getUserIdentity"] query. You can see in the first image that the query is subscribed in 12 places, when I remote the delete button it becoms 2.Why
useDelete needs to know the user identity? I've looks at the code but can't find where you call getIdentity from auth-provider.This is the delete button, just calls
useDelete, nothing fancy:
