From eca69b438a9c820a040c38884579c8d1c5af3fe0 Mon Sep 17 00:00:00 2001
From: Federico Brigante <me@fregante.com>
Date: Fri, 19 Aug 2022 15:58:36 +0700
Subject: Lint (#5902)

---
 source/features/enable-file-links-in-compare-view.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'source/features/enable-file-links-in-compare-view.tsx')

diff --git a/source/features/enable-file-links-in-compare-view.tsx b/source/features/enable-file-links-in-compare-view.tsx
index 4b4da0e4..c703e884 100644
--- a/source/features/enable-file-links-in-compare-view.tsx
+++ b/source/features/enable-file-links-in-compare-view.tsx
@@ -61,7 +61,7 @@ void features.add(import.meta.url, {
 	],
 	exclude: [
 		// Editing files doesn't make sense after a PR is closed/merged
-		pageDetect.isClosedConversation,
+		pageDetect.isClosedPR,
 		() => select('.head-ref')!.title === 'This repository has been deleted',
 		// 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"]'),
-- 
cgit v1.2.3

