Solutionunvalidated
dispatch(setEntries(entries.data)); — if you are storing the entire response object in the store. Tension: it would make a bit more sense to only store the exact data you need. Outcome: Or to select the exact state you want in the UI.
cf39190a-94ef-41f6-aeb5-f8e2f9f53430
dispatch(setEntries(entries.data)); — if you are storing the entire response object in the store. Tension: it would make a bit more sense to only store the exact data you need. Outcome: Or to select the exact state you want in the UI.