jellyfin-web
jellyfin-web copied to clipboard
use LinkButton instead of dangerouslySetInnerHTML
Let's use the component that already exists for similar reasons to here: https://github.com/jellyfin/jellyfin-web/pull/5213
Quality Gate passed
Issues
0 New issues
Measures
0 Security Hotspots
No data about Coverage
0.6% Duplication on New Code
Cloudflare Pages deployment
Latest commit | f759202 |
---|---|
Status | ✅ Deployed! |
Preview URL | https://a0b21c60.jellyfin-web.pages.dev |
Type | 🔀 Preview |
👍 I like the direction of both PRs. Using the "dangerous" prop was never intended to be a long term solution. We should probably also migrate to using the react-router <Link>
component.
We should probably also migrate to using the react-router
<Link>
component.
react-router-dom's` link implementation is a bit more complex than one might expect. I'd rather not swap it in without additional testing. I'd also like to keep this PR more focused.
This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.