Skip to content

Commit

Permalink
Fix wrong counts for reverse dependency list (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobofan authored Nov 7, 2023
1 parent 770e702 commit cd44a0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/modules/[module].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ const ModulePage: NextPage<ModulePageProps> = ({
className="text-1xl mt-4"
>
<span className="font-bold">Dependents</span>{' '}
{shownReverseDependencies.length > 0
? `(${shownReverseDependencies.length})`
{reverseDependencies.length > 0
? `(${reverseDependencies.length})`
: ''}
</span>
</summary>
Expand Down

0 comments on commit cd44a0a

Please sign in to comment.