mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 00:38:15 +00:00
fix const assignment
This commit is contained in:
parent
1b0122631e
commit
70e595cb79
|
@ -77,7 +77,7 @@ export const HashtagMenuController: React.FC = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
hashtagUrl = new URL('/filters', document.location)
|
||||
const hashtagUrl = 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