summaryrefslogtreecommitdiff
path: root/source/features/linkify-commit-sha.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/linkify-commit-sha.tsx')
-rw-r--r--source/features/linkify-commit-sha.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/linkify-commit-sha.tsx b/source/features/linkify-commit-sha.tsx
index d33ffdca..bd43f7f0 100644
--- a/source/features/linkify-commit-sha.tsx
+++ b/source/features/linkify-commit-sha.tsx
@@ -1,12 +1,12 @@
import React from 'dom-chef';
-import select from 'select-dom';
+import {$} from 'select-dom';
import * as pageDetect from 'github-url-detection';
import {wrap} from '../helpers/dom-utils.js';
import features from '../feature-manager.js';
function init(): void {
- const element = select('.sha.user-select-contain:not(a *)');
+ const element = $('.sha.user-select-contain:not(a *)');
if (element) {
wrap(element, <a href={location.pathname.replace(/pull\/\d+\/commits/, 'commit')}/>);
}