Merge branch 'bluesky-social:main' into patch-3

This commit is contained in:
Minseo Lee 2024-03-10 22:50:48 +09:00 committed by GitHub
commit 236223d02a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 476 additions and 465 deletions

View file

@ -42,7 +42,7 @@ export default function HashtagScreen({
const [isPTR, setIsPTR] = React.useState(false)
const fullTag = React.useMemo(() => {
return `#${tag.replaceAll('%23', '#')}`
return `#${decodeURIComponent(tag)}`
}, [tag])
const queryParam = React.useMemo(() => {
@ -83,7 +83,7 @@ export default function HashtagScreen({
const onShare = React.useCallback(() => {
const url = new URL('https://bsky.app')
url.pathname = `/hashtag/${tag}`
url.pathname = `/hashtag/${decodeURIComponent(tag)}`
if (author) {
url.searchParams.set('author', author)
}