From 65aeb52a3992aac49ab38ed4eb15de9bcae67359 Mon Sep 17 00:00:00 2001
From: Federico Brigante <opensource@bfred.it>
Date: Mon, 20 Apr 2020 17:51:12 +0200
Subject: Meta: Make bundles smaller (#3020)

---
 source/features/patch-diff-links.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'source/features/patch-diff-links.tsx')

diff --git a/source/features/patch-diff-links.tsx b/source/features/patch-diff-links.tsx
index b85506e9..24001f8f 100644
--- a/source/features/patch-diff-links.tsx
+++ b/source/features/patch-diff-links.tsx
@@ -2,6 +2,7 @@ import './patch-diff-links.css';
 import React from 'dom-chef';
 import select from 'select-dom';
 import features from '../libs/features';
+import * as pageDetect from '../libs/page-detect';
 import {isPRCommit} from '../libs/page-detect';
 
 function init(): void {
@@ -26,7 +27,7 @@ features.add({
 	screenshot: 'https://cloud.githubusercontent.com/assets/737065/13605562/22faa79e-e516-11e5-80db-2da6aa7965ac.png'
 }, {
 	include: [
-		features.isCommit
+		pageDetect.isCommit
 	],
 	init
 });
-- 
cgit v1.2.3

