))}
@@ -116,7 +147,7 @@ export default function HeaderNews() {
diff --git a/components/landing/NewsTicker.tsx b/components/landing/NewsTicker.tsx
index d4a5133..4771286 100644
--- a/components/landing/NewsTicker.tsx
+++ b/components/landing/NewsTicker.tsx
@@ -57,7 +57,7 @@ export default function NewsTicker() {
}`}
>
@@ -65,7 +65,7 @@ export default function NewsTicker() {
diff --git a/components/landing/RegionalNews.tsx b/components/landing/RegionalNews.tsx
index c9196ba..ef6e039 100644
--- a/components/landing/RegionalNews.tsx
+++ b/components/landing/RegionalNews.tsx
@@ -16,7 +16,6 @@ import Link from "next/link";
import { useTranslations } from "next-intl";
export default function RegionalNews() {
- const [limitedData, setLimitedData] = useState([]);
const { isOpen, onOpen, onOpenChange } = useDisclosure();
const [scrollBehavior, setScrollBehavior] =
React.useState("inside");
@@ -54,6 +53,12 @@ export default function RegionalNews() {
title: "Polda Jawa Timur",
path: "news/polda-jatim",
},
+ {
+ id: 6,
+ img: "/assets/polda/polda-jawa-barat.svg",
+ title: "Polda Jawa Barat",
+ path: "/news/polda-jawa-barat",
+ },
];
const listPoldaAll = [
@@ -305,7 +310,7 @@ export default function RegionalNews() {
{/*
*/}
-
+
{listPolda.map((item: any, index: any) => (
{list?.title}
-
- {convertDateFormat(list?.createdAt)} WIB
-
-
-
- {list?.viewCount === null ? 0 : list?.viewCount}
-
+
+
+ {convertDateFormat(list?.createdAt)} WIB
+
+
+
+ {list?.viewCount === null ? 0 : list?.viewCount}
+
+
))}