Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit e2c5604

Browse files
committed
fix: remove 0 from skills lists
ref issue #23
1 parent c8ce24b commit e2c5604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/SkillsList/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const SkillsList = ({
7272
return (
7373
<div styleName="skills-list">
7474
{_.map(skillsToShow, "name").join(", ")}
75-
{skillsToHide.length && (
75+
{skillsToHide.length > 0 && (
7676
<>
7777
{" and "}
7878
<OutsideClickHandler onOutsideClick={close} display="inline">
@@ -85,7 +85,7 @@ const SkillsList = ({
8585
tabIndex={0}
8686
ref={setReferenceElement}
8787
>
88-
{skillsToHide.length} more
88+
{skillsToHide.length > 0} more
8989
</span>
9090

9191
{isOpen && (

0 commit comments

Comments
 (0)