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/embed-gist-inline.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'source/features/embed-gist-inline.tsx')

diff --git a/source/features/embed-gist-inline.tsx b/source/features/embed-gist-inline.tsx
index ddbd7031..fbb0d751 100644
--- a/source/features/embed-gist-inline.tsx
+++ b/source/features/embed-gist-inline.tsx
@@ -2,6 +2,7 @@ import React from 'dom-chef';
 import domify from 'doma';
 import select from 'select-dom';
 import features from '../libs/features';
+import * as pageDetect from '../libs/page-detect';
 import {isFirefox} from '../libs/utils';
 
 const isGist = (link: HTMLAnchorElement): boolean =>
@@ -56,7 +57,7 @@ features.add({
 	screenshot: 'https://user-images.githubusercontent.com/6978877/33911900-c62ee968-df8b-11e7-8685-506ffafc60b4.PNG'
 }, {
 	include: [
-		features.hasComments
+		pageDetect.hasComments
 	],
 	exclude: [
 		// https://github.com/sindresorhus/refined-github/issues/2022
-- 
cgit v1.2.3

