diff --git a/components/landing-page/breaking-news.tsx b/components/landing-page/breaking-news.tsx index 76cdeae..79707e1 100644 --- a/components/landing-page/breaking-news.tsx +++ b/components/landing-page/breaking-news.tsx @@ -6,7 +6,6 @@ import { Calendar, Eye, MessageSquare } from "lucide-react"; import { getListArticle } from "@/service/article"; import Link from "next/link"; -// Definisi type Article type Article = { id: number; title: string; @@ -31,7 +30,7 @@ export default function BreakingNews() { const [articles, setArticles] = useState([]); const [loading, setLoading] = useState(true); const [page, setPage] = useState(1); - const [limit] = useState("8"); // jumlah per halaman + const [limit] = useState("8"); const [meta, setMeta] = useState(null); useEffect(() => { @@ -158,7 +157,7 @@ export default function BreakingNews() { {p} - ) + ), )} {/* Tombol Next */}