summaryrefslogtreecommitdiff
path: root/source/libs/features.tsx
diff options
context:
space:
mode:
authorGravatar Fregante <opensource@bfred.it> 2020-05-08 01:42:40 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-08 01:42:40 +0200
commita24d9460d36e5147f5a9f389923f2eb75f34e34f (patch)
treedb2f1253ae14d3af1c842af66c318caa760401d4 /source/libs/features.tsx
parent90b43ae76d84b53eb01a1d8961907c515c010994 (diff)
downloadrefined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.tar.gz
refined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.tar.zst
refined-github-a24d9460d36e5147f5a9f389923f2eb75f34e34f.zip
Extract page-detect.ts into `github-url-detection` (#3062)
Diffstat (limited to 'source/libs/features.tsx')
-rw-r--r--source/libs/features.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libs/features.tsx b/source/libs/features.tsx
index 7debe3ad..5c98801e 100644
--- a/source/libs/features.tsx
+++ b/source/libs/features.tsx
@@ -3,10 +3,10 @@ import select from 'select-dom';
import domLoaded from 'dom-loaded';
import {Promisable} from 'type-fest';
import elementReady from 'element-ready';
+import * as pageDetect from 'github-url-detection';
import {logError} from './utils';
import onNewComments from './on-new-comments';
import onNewsfeedLoad from './on-newsfeed-load';
-import * as pageDetect from './page-detect';
import optionsStorage, {RGHOptions} from '../options-storage';
type BooleanFunction = () => boolean;