Update
This commit is contained in:
@ -22,7 +22,7 @@ function FeedList() {
|
|||||||
|
|
||||||
// Pagination state
|
// Pagination state
|
||||||
const [currentPage, setCurrentPage] = useState(1);
|
const [currentPage, setCurrentPage] = useState(1);
|
||||||
const [pageSize, setPageSize] = useState(12);
|
const [pageSize, setPageSize] = useState(15);
|
||||||
const [totalPages, setTotalPages] = useState(1);
|
const [totalPages, setTotalPages] = useState(1);
|
||||||
const [totalFeeds, setTotalFeeds] = useState(0);
|
const [totalFeeds, setTotalFeeds] = useState(0);
|
||||||
|
|
||||||
@ -192,10 +192,10 @@ function FeedList() {
|
|||||||
borderRadius: "4px",
|
borderRadius: "4px",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<option value={6}>6件表示</option>
|
<option value={15}>15件表示</option>
|
||||||
<option value={12}>12件表示</option>
|
<option value={30}>30件表示</option>
|
||||||
<option value={24}>24件表示</option>
|
<option value={45}>45件表示</option>
|
||||||
<option value={48}>48件表示</option>
|
<option value={60}>60件表示</option>
|
||||||
</select>
|
</select>
|
||||||
<button type="button" className="btn btn-secondary" onClick={fetchFeeds}>
|
<button type="button" className="btn btn-secondary" onClick={fetchFeeds}>
|
||||||
更新
|
更新
|
||||||
|
Reference in New Issue
Block a user