Skip to content

Commit

Permalink
fix: encode uri return url to fix xxs dom error
Browse files Browse the repository at this point in the history
  • Loading branch information
hentrymartin committed Feb 17, 2025
1 parent 6b70463 commit bca6a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shared/containers/tc-communities/tco20/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ function TCO20Header(props) {
</React.Fragment>
) : (
<React.Fragment>
<a href={`${config.URL.AUTH}/member?utm_source=TCO20site&retUrl=${getCurrentUrl()}`} className={defaultStyle.loginLink}>LOGIN</a>
<a href={`${config.URL.AUTH}/member/registration?utm_source=TCO20site&retUrl=${getCurrentUrl()}`} className={defaultStyle.signUpLink}>SIGN UP</a>
<a href={`${config.URL.AUTH}/member?utm_source=TCO20site&retUrl=${encodeURIComponent(getCurrentUrl())}`} className={defaultStyle.loginLink}>LOGIN</a>
<a href={`${config.URL.AUTH}/member/registration?utm_source=TCO20site&retUrl=${encodeURIComponent(getCurrentUrl())}`} className={defaultStyle.signUpLink}>SIGN UP</a>
</React.Fragment>
)
}
Expand Down

0 comments on commit bca6a07

Please sign in to comment.