diff options
author | 2020-04-29 01:24:40 +0200 | |
---|---|---|
committer | 2020-04-29 01:24:40 +0200 | |
commit | 5d5691729e9210a52c78e7fe96c780a7482b1ad2 (patch) | |
tree | 743126dd562ca753fcf99d5271ee85f955a5d679 /source/features/link-to-file-in-file-history.tsx | |
parent | 0ab7b3b392209cf543474102b563374e85ad4513 (diff) | |
download | refined-github-5d5691729e9210a52c78e7fe96c780a7482b1ad2.tar.gz refined-github-5d5691729e9210a52c78e7fe96c780a7482b1ad2.tar.zst refined-github-5d5691729e9210a52c78e7fe96c780a7482b1ad2.zip |
Meta: Use JSX when generating elements with functions (#3034)
Diffstat (limited to 'source/features/link-to-file-in-file-history.tsx')
-rw-r--r-- | source/features/link-to-file-in-file-history.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/link-to-file-in-file-history.tsx b/source/features/link-to-file-in-file-history.tsx index 842d6bb3..0f763fb5 100644 --- a/source/features/link-to-file-in-file-history.tsx +++ b/source/features/link-to-file-in-file-history.tsx @@ -1,6 +1,6 @@ import React from 'dom-chef'; import select from 'select-dom'; -import fileIcon from 'octicon/file.svg'; +import FileIcon from 'octicon/file.svg'; import features from '../libs/features'; import * as pageDetect from '../libs/page-detect'; import {groupSiblings} from '../libs/group-buttons'; @@ -23,7 +23,7 @@ function init(): void | false { className="btn btn-outline tooltipped tooltipped-sw" aria-label="See object at this point in the history" > - {fileIcon()} + <FileIcon/> </a> ); |