You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this only appears to be empty objects because it actually returns an observable. So just add a get() and it should work. But if you don't need the observable then the other way is more performant, to get the raw data first and then find it.
Also if you're doing this kind of find often it may be better to use as: "object" since you get quickly get items by id and don't have to search the whole array.
Tested on iOS⚠️
In
mobile/app/comments/update/[commentId].tsx
finding the comment returns empty objects.When trying to set to trigger an update sync it won't work because the objects are empty:
LOG output of comment:
The text was updated successfully, but these errors were encountered: