diff options
author | Jan-Olof Eriksson <jan-olof.eriksson@iki.fi> | 2024-03-11 14:52:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 14:52:33 +0200 |
commit | 4a2251f48bd51d8bd427d21f0dd697c8d43d7856 (patch) | |
tree | 17b7d68f0a19f54313607257de79accc7b6daf4c /src/components/TagMenu/index.web.tsx | |
parent | cbc65247ae57502356165a5d51270bd8d19fd9a5 (diff) | |
parent | 596e744d4177d3be6defeef68f202a70baaf6e37 (diff) | |
download | voidsky-4a2251f48bd51d8bd427d21f0dd697c8d43d7856.tar.zst |
Merge branch 'bluesky-social:main' into main
Diffstat (limited to 'src/components/TagMenu/index.web.tsx')
-rw-r--r-- | src/components/TagMenu/index.web.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/TagMenu/index.web.tsx b/src/components/TagMenu/index.web.tsx index a0dc2bce6..8245bd019 100644 --- a/src/components/TagMenu/index.web.tsx +++ b/src/components/TagMenu/index.web.tsx @@ -66,7 +66,7 @@ export function TagMenu({ label: _(msg`See ${truncatedTag} posts`), onPress() { navigation.push('Hashtag', { - tag: tag.replaceAll('#', '%23'), + tag: encodeURIComponent(tag), }) }, testID: 'tagMenuSearch', @@ -83,7 +83,7 @@ export function TagMenu({ label: _(msg`See ${truncatedTag} posts by user`), onPress() { navigation.push('Hashtag', { - tag: tag.replaceAll('#', '%23'), + tag: encodeURIComponent(tag), author: authorHandle, }) }, |