Skip to content

Cart: Use Redux for cart items

The localStorage.onChange event does not trigger when the change is made in the same document. This means that "Add selected to cart" on accession list page does not work correctly.

Move cart functionality to Redux state, but keep it synced with localStorage. Update useAccessionCart to use Redux actions, or remove entirely.

Edited by Matija Obreza
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information