Skip to content

Commit

Permalink
fix(tag): jump url (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daryl-L authored Oct 1, 2024
1 parent f5f4f1b commit 2fc17c7
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 2fc17c7

Please sign in to comment.