Skip to content

Commit 56af553

Browse files
committed
fix: fix build pagination custom
1 parent c5a18c4 commit 56af553

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/features/blog/components/BlogList.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import BlogCard from "./BlogCard";
33
import { BlogPost } from "@/lib/mdx";
4-
import { PaginationCustom } from "@/components/common/PaginationCustom";
4+
// import { PaginationCustom } from "@/components/common/PaginationCustom";
55
import { Skeleton } from "@/components/ui/Skeleton";
66

77
interface BlogListProps {
@@ -10,7 +10,7 @@ interface BlogListProps {
1010
totalPages: number;
1111
}
1212

13-
const BlogList = ({ blogs, currentPage, totalPages }: BlogListProps) => {
13+
const BlogList = ({ blogs }: BlogListProps) => {
1414
return (
1515
<React.Suspense
1616
fallback={
@@ -26,7 +26,7 @@ const BlogList = ({ blogs, currentPage, totalPages }: BlogListProps) => {
2626
))}
2727
</div>
2828

29-
<PaginationCustom currentPage={currentPage} totalPages={totalPages} />
29+
{/* <PaginationCustom currentPage={currentPage} totalPages={totalPages} /> */}
3030
</React.Suspense>
3131
);
3232
};

0 commit comments

Comments
 (0)