From 8c128126e9e593374b058cec3c8f40d5ffc686ee Mon Sep 17 00:00:00 2001 From: bravo68web Date: Mon, 17 Jun 2024 14:43:22 +0000 Subject: [PATCH] fix: minor bug fix --- apps/pacsearch-app/components/PackageInfoRender.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pacsearch-app/components/PackageInfoRender.tsx b/apps/pacsearch-app/components/PackageInfoRender.tsx index 7dbdcff..3705737 100644 --- a/apps/pacsearch-app/components/PackageInfoRender.tsx +++ b/apps/pacsearch-app/components/PackageInfoRender.tsx @@ -5,7 +5,7 @@ function PackageInfoRender({ data }: Readonly<{ data: IPkgInfoData}> ) { - if(!data.packages) { + if(!data.packages[0]) { return
No package found
} const {