diff options
Diffstat (limited to 'source/features/split-issue-pr-search-results.tsx')
-rw-r--r-- | source/features/split-issue-pr-search-results.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/split-issue-pr-search-results.tsx b/source/features/split-issue-pr-search-results.tsx index 7e40a2f1..af66a012 100644 --- a/source/features/split-issue-pr-search-results.tsx +++ b/source/features/split-issue-pr-search-results.tsx @@ -12,9 +12,9 @@ function cleanLinks(): void { } } -type GitHubDiscussionType = 'pr' | 'issue'; +type GitHubConversationType = 'pr' | 'issue'; -function createUrl(type: GitHubDiscussionType, pathname = location.pathname): string { +function createUrl(type: GitHubConversationType, pathname = location.pathname): string { const url = new URL(pathname, location.origin); url.searchParams.set('q', pageSearchQuery.get() + ` is:${type}`); url.searchParams.set('type', 'Issues'); |