From e28ac2c46e8825aaf8691dd9918979675b567b0b Mon Sep 17 00:00:00 2001 From: Desktop Date: Thu, 13 Nov 2025 01:12:39 +0500 Subject: [PATCH] Update Industries.tsx --- frontend/src/pages/Reference/Industries.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/Reference/Industries.tsx b/frontend/src/pages/Reference/Industries.tsx index 4a222789..078e0830 100644 --- a/frontend/src/pages/Reference/Industries.tsx +++ b/frontend/src/pages/Reference/Industries.tsx @@ -58,7 +58,12 @@ export default function Industries() { }; }); - setIndustries(industriesWithData); + // Filter to only show industries that have keywords associated + const industriesWithKeywords = industriesWithData.filter( + (industry) => industry.keywordsCount > 0 + ); + + setIndustries(industriesWithKeywords); } catch (error: any) { toast.error(`Failed to load industries: ${error.message}`); } finally {