This commit is contained in:
hanif salafi 2025-05-26 08:54:48 +07:00
commit d29e2018e2
2 changed files with 3 additions and 5 deletions

View File

@ -6,11 +6,11 @@ import {
DrawerBody,
DrawerContent,
DrawerHeader,
Image,
useDisclosure,
} from "@heroui/react";
import { ChevronDownIcon, LandingAnalyticIcon, UserIcon } from "../icons";
import { MasterUsersIcon } from "../icons/sidebar-icon";
import Image from "next/image";
import { useEffect, useState } from "react";
import { getActivity } from "@/services/activity-log";
@ -104,8 +104,6 @@ export default function AnalyticDrawer() {
</div>
<Image
src="/tribrata.png"
width={360}
height={360}
alt="logo"
className="w-[80px] opacity-30"
/>
@ -128,8 +126,6 @@ export default function AnalyticDrawer() {
</div>
<Image
src="/tribrata.png"
width={360}
height={360}
alt="logo"
className="w-[80px] opacity-30"
/>

View File

@ -108,6 +108,7 @@ export default function DashboardContainer() {
limit: "4",
page: page,
search: "",
sort: "desc",
};
const res = await getListArticleAdminPage(req);
setArticle(res.data?.data);
@ -128,6 +129,7 @@ export default function DashboardContainer() {
limit: "10",
page: topPagespage,
search: "",
sort: "desc",
};
const res = await getTopArticles(req);
setTopPages(getTableNumber(10, res.data?.data));