Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
twosugar committed Nov 6, 2023
1 parent 9116515 commit 2f79817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/locale-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const LocaleLink = (props: LinkProps & { pageUrl?: string }) => {
const isLocal = location.hostname
const origin = isLocal ? 'https://cloud.longbridge.xyz' : ''
setPageUrlLink(`${origin}/${i18n.language}${pageUrl}`)
}, [])
}, [pageUrl, i18n.language])

if (!pageUrl || isServer()) {
return (
Expand Down

0 comments on commit 2f79817

Please sign in to comment.