mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
Explicitly type variable
See https://github.com/mastodon/mastodon/actions/runs/15860724453
This commit is contained in:
parent
70e595cb79
commit
f70f096cae
|
@ -77,7 +77,7 @@ export const HashtagMenuController: React.FC = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
const hashtagUrl = new URL('/filters', document.location)
|
||||
const hashtagUrl: URL = new URL('/filters', document.location)
|
||||
hashtagUrl.searchParams.set('custom_filter[keywords_attributes][0][keyword]', target.text)
|
||||
hashtagUrl.searchParams.set('custom_filter[keywords_attributes][0][whole_word]', 1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user