diff options
author | 2023-08-28 18:30:29 +0900 | |
---|---|---|
committer | 2023-08-28 09:30:29 +0000 | |
commit | aa9d746180b8d5a96307ae311d5a7adeee73feaa (patch) | |
tree | 0aa6c13709d009e766434ef9cbcc0840d3e4c60e /source/features/clean-repo-filelist-actions.tsx | |
parent | 2fb92175fd25c3a4cf702aaf39e7ccaef9c86679 (diff) | |
download | refined-github-aa9d746180b8d5a96307ae311d5a7adeee73feaa.tar.gz refined-github-aa9d746180b8d5a96307ae311d5a7adeee73feaa.tar.zst refined-github-aa9d746180b8d5a96307ae311d5a7adeee73feaa.zip |
Enable `useful-not-found-page` on the new "404 file" page (#6840)
Co-authored-by: Federico Brigante <me@fregante.com>
Diffstat (limited to 'source/features/clean-repo-filelist-actions.tsx')
-rw-r--r-- | source/features/clean-repo-filelist-actions.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/features/clean-repo-filelist-actions.tsx b/source/features/clean-repo-filelist-actions.tsx index 6daeaf4c..11bc1add 100644 --- a/source/features/clean-repo-filelist-actions.tsx +++ b/source/features/clean-repo-filelist-actions.tsx @@ -1,7 +1,7 @@ import React from 'dom-chef'; import select from 'select-dom'; import * as pageDetect from 'github-url-detection'; -import {PlusIcon, SearchIcon, CodeIcon} from '@primer/octicons-react'; +import {CodeIcon, PlusIcon, SearchIcon} from '@primer/octicons-react'; import observe from '../helpers/selector-observer.js'; import {assertNodeContent, wrap} from '../helpers/dom-utils.js'; @@ -60,6 +60,9 @@ void features.add(import.meta.url, { pageDetect.isRepoTree, pageDetect.isSingleFile, ], + exclude: [ + pageDetect.isRepoFile404, + ], init, }); |