@@ -20,7 +20,9 @@ const Products = () => {
setCollection(selectCollection)
}
- }
+ }else{
+ window.location.href = "/"
+ }
}, [])
return (