Skip to content

Commit 6a5efe3

Browse files
committed
add button "star project" for all projects
1 parent 4c00ab6 commit 6a5efe3

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/Library/Library.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,12 @@ export const Library: React.FC<Props> = ({lib}) => {
334334
<div className={b('github-star-text')}>
335335
{content}
336336
</div>
337-
<GitHubStarButton
338-
githubId={lib.config.githubId}
339-
starCount={lib.metadata.stars}
340-
/>
337+
{isVisibleInfoListMobile && (
338+
<GitHubStarButton
339+
githubId={lib.config.githubId}
340+
starCount={lib.metadata.stars}
341+
/>
342+
)}
341343
</div>
342344
</div>
343345
);

0 commit comments

Comments
 (0)