Skip to content

Commit c95daac

Browse files
committed
Fix #39
1 parent aa8b22d commit c95daac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Github.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default class Github extends Component {
8282
const href = $(item).find('h1 a').attr('href').replace(/(\n|\s)/g, '');
8383
const language = $(item).find('span[itemprop=programmingLanguage]').text().replace(/(\n|\s)/g, '');
8484
const languageColor = $(item).find('span.repo-language-color');
85-
const stargazersCount = $(item).find('span[aria-label="star"] svg[aria-label="star"].octicon.octicon-star').parent().parent().text().replace(/(\n|\s|,)/g, '');
85+
const stargazersCount = $(item).find('svg[aria-label="star"].octicon.octicon-star').parent().text().replace(/(\n|\s|,)/g, '');
8686
const forked = $(item).find('span[aria-label="fork"] svg.octicon.octicon-repo-forked').parent().parent().text().replace(/(\n|\s|,)/g, '');
8787
const todayStar = $(item).find('span.float-sm-right').text().replace(/(\n|,)/g, '').trim();
8888
const description = $(item).find('p.text-gray').text().replace(/(\n)/g, '').trim();

0 commit comments

Comments
 (0)