summaryrefslogtreecommitdiff
path: root/source/features/enable-file-links-in-compare-view.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2022-09-20 16:19:15 +0700
committerGravatar GitHub <noreply@github.com> 2022-09-20 16:19:15 +0700
commitc1f308405ae9ce5f712803265b93be537178863d (patch)
treeb02fb0e9fa951945e1344b5fa442f6a0b723dbf7 /source/features/enable-file-links-in-compare-view.tsx
parent03022000ea8567d544dfdf38021a074b03aff1ec (diff)
downloadrefined-github-c1f308405ae9ce5f712803265b93be537178863d.tar.gz
refined-github-c1f308405ae9ce5f712803265b93be537178863d.tar.zst
refined-github-c1f308405ae9ce5f712803265b93be537178863d.zip
Meta: Default to `deduplicate: false` (#5999)
Diffstat (limited to 'source/features/enable-file-links-in-compare-view.tsx')
-rw-r--r--source/features/enable-file-links-in-compare-view.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/features/enable-file-links-in-compare-view.tsx b/source/features/enable-file-links-in-compare-view.tsx
index c703e884..43dded6c 100644
--- a/source/features/enable-file-links-in-compare-view.tsx
+++ b/source/features/enable-file-links-in-compare-view.tsx
@@ -4,7 +4,7 @@ import {GitBranchIcon} from '@primer/octicons-react';
import * as pageDetect from 'github-url-detection';
import delegate, {DelegateEvent} from 'delegate-it';
-import features from '.';
+import features from '../feature-manager';
import GitHubURL from '../github-helpers/github-url';
/** Rebuilds the "View file" link because it points to the base repo and to the commit, instead of the head repo and its branch */
@@ -66,7 +66,6 @@ void features.add(import.meta.url, {
// If you're viewing changes from partial commits, ensure you're on the latest one.
() => select.exists('.js-commits-filtered') && !select.exists('[aria-label="You are viewing the latest commit"]'),
],
- deduplicate: false,
init,
}, {
asLongAs: [
@@ -76,6 +75,5 @@ void features.add(import.meta.url, {
include: [
pageDetect.isCompare,
],
- deduplicate: false,
init,
});