瀏覽代碼

sort by newest by default

master
azri 6 天之前
父節點
當前提交
1cb40fdd59
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/components/ProductList/ProductList.jsx

+ 1
- 1
src/components/ProductList/ProductList.jsx 查看文件

@@ -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…
取消
儲存