about summary refs log tree commit diff
path: root/src/components/TagMenu/index.web.tsx
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2024-03-10 22:50:48 +0900
committerGitHub <noreply@github.com>2024-03-10 22:50:48 +0900
commit236223d02aa61d8f9011c7484c4e8827d336ecb6 (patch)
tree2e4ac0c8581a942332447a041b28dd5fa608e283 /src/components/TagMenu/index.web.tsx
parente74c46e9ab480959c4416f83a78289e460bdeec7 (diff)
parent1aaed1cc0d59ecafa1bb3c7f57f0a323940e6317 (diff)
downloadvoidsky-236223d02aa61d8f9011c7484c4e8827d336ecb6.tar.zst
Merge branch 'bluesky-social:main' into patch-3
Diffstat (limited to 'src/components/TagMenu/index.web.tsx')
-rw-r--r--src/components/TagMenu/index.web.tsx4
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,
             })
           },