summaryrefslogtreecommitdiff
path: root/source/features/discussion-links-on-repo-lists.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/discussion-links-on-repo-lists.tsx')
-rw-r--r--source/features/discussion-links-on-repo-lists.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/features/discussion-links-on-repo-lists.tsx b/source/features/discussion-links-on-repo-lists.tsx
index 283707e4..57c69659 100644
--- a/source/features/discussion-links-on-repo-lists.tsx
+++ b/source/features/discussion-links-on-repo-lists.tsx
@@ -1,7 +1,7 @@
import React from 'dom-chef';
import select from 'select-dom';
-import issueIcon from 'octicon/issue-opened.svg';
-import pullRequestIcon from 'octicon/git-pull-request.svg';
+import IssueIcon from 'octicon/issue-opened.svg';
+import PullRequestIcon from 'octicon/git-pull-request.svg';
import features from '../libs/features';
import * as pageDetect from '../libs/page-detect';
import observeElement from '../libs/simplified-element-observer';
@@ -26,13 +26,13 @@ function init(): void {
className="muted-link mr-3"
href={repositoryLink.href + '/issues?q=is%3Aissue+is%3Aopen'}
>
- {issueIcon()}
+ <IssueIcon/>
</a>,
<a
className="muted-link mr-3"
href={repositoryLink.href + '/pulls?q=is%3Apr+is%3Aopen'}
>
- {pullRequestIcon()}
+ <PullRequestIcon/>
</a>
);
}