From 1a1ffca051d18c411c80b453d9c208ae60c84e10 Mon Sep 17 00:00:00 2001 From: Anang Yusman Date: Thu, 2 Apr 2026 13:18:36 +0800 Subject: [PATCH] redeploy --- components/details/details-content.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/details/details-content.tsx b/components/details/details-content.tsx index 1f4ed64..39cc5bb 100644 --- a/components/details/details-content.tsx +++ b/components/details/details-content.tsx @@ -222,7 +222,7 @@ export default function DetailContent() { setTabArticles(res?.data?.data || []); } catch (error) { console.error("Failed fetching tab articles:", error); - setTabArticles([]); // Optional fallback + setTabArticles([]); } } @@ -292,7 +292,6 @@ export default function DetailContent() { setArticles(res?.data?.data || []); setTotalPage(res?.data?.meta?.totalPage || 1); } finally { - // close(); } }