Skip to content

Commit

Permalink
fix(tag): jump url
Browse files Browse the repository at this point in the history
  • Loading branch information
Daryl-L committed Sep 23, 2024
1 parent 58f4c10 commit 12eca82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/XUDTTag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const XUDTTag = ({ tagName, to, tooltip = false }: { tagName: string; to?: strin
} else {
search.set('tags', [...tags, tag].join(','))
}
push(`${`/${i18n.language}${to ?? window.location.pathname}`}?${search}`)
push(`${to ?? window.location.pathname}?${search}`)
}

if (tooltip) {
Expand Down

0 comments on commit 12eca82

Please sign in to comment.