Sfoglia il codice sorgente

remove session collection

master
azri 1 settimana fa
parent
commit
ce4d70ab0f

+ 1
- 0
src/components/Navbar/components/MobileNav/MobileNav.jsx Vedi File

@@ -120,6 +120,7 @@ const MobileNav = ({ open, onClose, menu = [] }) => {
120 120
             disableGutters={true}
121 121
             onClick={() => {
122 122
               sessionStorage.setItem('amber-select-product-type', productType)
123
+              sessionStorage.removeItem('amber-select-collection')
123 124
               if (collection?.length == 0) window.location.href = `/products`;
124 125
             }}
125 126
             sx={{

Loading…
Annulla
Salva