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 have scenario where I obtain list of cars based on dealership Id.
A user/staff member can "remove" car from dealership (e.g. sale, or transfer etc.) in which case we trigger a mutation remove car from dealership as per below.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Heya,
I have scenario where I obtain list of cars based on dealership Id.
A user/staff member can "remove" car from dealership (e.g. sale, or transfer etc.) in which case we trigger a mutation remove car from dealership as per below.
Now this works however I get the following warning/error appear every time
So question is what is the proper approach to remove an item from array in the local cache?
Beta Was this translation helpful? Give feedback.
All reactions