Explorar el Código

sort by newest by default

master
azri hace 6 días
padre
commit
1cb40fdd59
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/components/ProductList/ProductList.jsx

+ 1
- 1
src/components/ProductList/ProductList.jsx Ver fichero

@@ -59,7 +59,7 @@ const ProductList = ({ size = 99999 }) => {
59 59
   //filter
60 60
   const [tags, setTags] = useState('all');
61 61
   const [collection, setCollection] = useState('all');
62
-  const [sort, setSort] = useState('title')
62
+  const [sort, setSort] = useState('new')
63 63
 
64 64
   useEffect(() => {
65 65
 

Loading…
Cancelar
Guardar