Przeglądaj źródła

Update: Set pagination default page size to 10

iaun 3 miesięcy temu
rodzic
commit
e0f333ad72
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      frontend/src/components/WorkRecordList.jsx

+ 1 - 1
frontend/src/components/WorkRecordList.jsx

@@ -25,7 +25,7 @@ function WorkRecordList() {
   
   // Pagination states
   const [currentPage, setCurrentPage] = useState(1)
-  const [pageSize, setPageSize] = useState(20)
+  const [pageSize, setPageSize] = useState(10)
   const [total, setTotal] = useState(0)
   
   // Batch settlement modal states