Skip to content

Commit be4ab51

Browse files
authored
Drop unused page detection
1 parent 83be46a commit be4ab51

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ export const isSingleCommit = (): boolean => /^commit\/[0-9a-f]{5,40}/.test(getR
9393

9494
export const isSingleFile = (): boolean => /^blob\//.test(getRepoPath()!);
9595

96-
export const isMarkDown = (): boolean => isSingleFile() && getRepoPath()!.substr(-2) === 'md';
97-
9896
export const isTrending = (): boolean => location.pathname === '/trending' || location.pathname.startsWith('/trending/');
9997

10098
export const isUserProfile = (): boolean => select.exists('.user-profile-nav');

0 commit comments

Comments
 (0)