Skip to content

Commit

Permalink
decode
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Dec 18, 2024
1 parent 209fcb9 commit 20a2070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/Topic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function TopicScreenTab({
fetchNextPage,
hasNextPage,
} = useSearchPostsQuery({
query: topic.replaceAll(' ', '+').replaceAll('%20', '+'),
query: decodeURIComponent(topic),
sort,
enabled: active,
})
Expand Down

0 comments on commit 20a2070

Please sign in to comment.