mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-15 07:26:48 +00:00
fukasawa 文章列表样式
This commit is contained in:
@@ -15,7 +15,7 @@ import PaginationSimple from './PaginationSimple'
|
||||
const BlogListPage = ({ page = 1, posts = [], postCount }) => {
|
||||
const totalPage = Math.ceil(postCount / BLOG.POSTS_PER_PAGE)
|
||||
const showNext = page < totalPage && posts.length === BLOG.POSTS_PER_PAGE && posts.length < postCount
|
||||
const [colCount, changeCol] = useState(3)
|
||||
const [colCount, changeCol] = useState(1)
|
||||
|
||||
function updateCol () {
|
||||
if (window.outerWidth > 1200) {
|
||||
|
||||
Reference in New Issue
Block a user