diff --git a/components/main/dashboard/dashboard-container.tsx b/components/main/dashboard/dashboard-container.tsx index e597edd..4d863a9 100644 --- a/components/main/dashboard/dashboard-container.tsx +++ b/components/main/dashboard/dashboard-container.tsx @@ -61,7 +61,7 @@ import { parseAbsoluteToLocal, } from "@internationalized/date"; import { Input } from "@heroui/input"; -import { EyeIconMdi } from "@/components/icons"; +import { EyeIconMdi, SearchIcons } from "@/components/icons"; type ArticleData = Article & { no: number; @@ -197,7 +197,7 @@ export default function DashboardContainer() { useEffect(() => { fetchPostCount(); - }, [postContentDate, selectedCategory]); + }, [selectedCategory]); async function fetchPostCount() { const getDate = (data: any) => { @@ -425,6 +425,7 @@ export default function DashboardContainer() {