This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
The following commit(s) were added to refs/heads/dev by this push:
new bdc5e0d9 fix: Chinese character tag bug
bdc5e0d9 is described below
commit bdc5e0d9e74274e5e1faa4eab2d3da7538e5fc8c
Author: Navid Lee <[email protected]>
AuthorDate: Mon Jun 3 21:17:31 2024 +0800
fix: Chinese character tag bug
---
ui/src/components/Tag/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/components/Tag/index.tsx b/ui/src/components/Tag/index.tsx
index 44a5ae63..6d97da08 100644
--- a/ui/src/components/Tag/index.tsx
+++ b/ui/src/components/Tag/index.tsx
@@ -38,7 +38,7 @@ const Index: FC<IProps> = ({
className = '',
textClassName = '',
}) => {
- href ||= pathFactory.tagLanding(encodeURIComponent(data.slug_name));
+ href ||= pathFactory.tagLanding(data.slug_name);
return (
<Link