mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 08:48:15 +00:00
Fix variable types
This commit is contained in:
parent
cce87b7f35
commit
fc18ec8bc1
|
@ -77,9 +77,9 @@ export const HashtagMenuController: React.FC = () => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const hashtagUrl: URL = new URL('/filters', document.location)
|
const hashtagUrl: URL = new URL('/filters', document.location.href)
|
||||||
hashtagUrl.searchParams.set('custom_filter[keywords_attributes][0][keyword]', target.text)
|
hashtagUrl.searchParams.set('custom_filter[keywords_attributes][0][keyword]', target.text)
|
||||||
hashtagUrl.searchParams.set('custom_filter[keywords_attributes][0][whole_word]', 1)
|
hashtagUrl.searchParams.set('custom_filter[keywords_attributes][0][whole_word]', '1')
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user