summaryrefslogtreecommitdiff
path: root/source/features/html-preview-link.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/html-preview-link.tsx')
-rw-r--r--source/features/html-preview-link.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/html-preview-link.tsx b/source/features/html-preview-link.tsx
index 6780b9c0..7160627a 100644
--- a/source/features/html-preview-link.tsx
+++ b/source/features/html-preview-link.tsx
@@ -1,7 +1,7 @@
import React from 'dom-chef';
import select from 'select-dom';
+import * as pageDetect from 'github-url-detection';
import features from '../libs/features';
-import * as pageDetect from '../libs/page-detect';
const isSingleHTMLFile = (): boolean => pageDetect.isSingleFile() && (location.pathname.endsWith('.html') || location.pathname.endsWith('.htm'));