From aa9d746180b8d5a96307ae311d5a7adeee73feaa Mon Sep 17 00:00:00 2001
From: "오지환 (Cooper)" <cooper@chequer.io>
Date: Mon, 28 Aug 2023 18:30:29 +0900
Subject: Enable `useful-not-found-page` on the new "404 file" page (#6840)

Co-authored-by: Federico Brigante <me@fregante.com>
---
 source/features/easy-toggle-commit-messages.tsx | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'source/features/easy-toggle-commit-messages.tsx')

diff --git a/source/features/easy-toggle-commit-messages.tsx b/source/features/easy-toggle-commit-messages.tsx
index 8d028106..3c40d38f 100644
--- a/source/features/easy-toggle-commit-messages.tsx
+++ b/source/features/easy-toggle-commit-messages.tsx
@@ -37,6 +37,9 @@ void features.add(import.meta.url, {
 		pageDetect.isRepoTree,
 		pageDetect.isSingleFile,
 	],
+	exclude: [
+		pageDetect.isRepoFile404,
+	],
 	init,
 });
 
-- 
cgit v1.2.3

