From cd44a0a02e966c26a672ddbec01ec6d2f93e40bf Mon Sep 17 00:00:00 2001 From: Maximilian Goisser Date: Tue, 7 Nov 2023 19:48:12 +0100 Subject: [PATCH] Fix wrong counts for reverse dependency list (#125) --- pages/modules/[module].tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/modules/[module].tsx b/pages/modules/[module].tsx index 3972567dbea3..f9c38171a4eb 100644 --- a/pages/modules/[module].tsx +++ b/pages/modules/[module].tsx @@ -286,8 +286,8 @@ const ModulePage: NextPage = ({ className="text-1xl mt-4" > Dependents{' '} - {shownReverseDependencies.length > 0 - ? `(${shownReverseDependencies.length})` + {reverseDependencies.length > 0 + ? `(${reverseDependencies.length})` : ''}