Browse Source

remove session collection

master
azri 1 week ago
parent
commit
ce4d70ab0f
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/components/Navbar/components/MobileNav/MobileNav.jsx

+ 1
- 0
src/components/Navbar/components/MobileNav/MobileNav.jsx View 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…
Cancel
Save