italia / design-react-kit

Il toolkit React conforme alle linee guida di design per i siti internet e i servizi digitali della PA.
https://italia.github.io/design-react-kit/
BSD 3-Clause "New" or "Revised" License
156 stars 81 forks source link

fixes #1033 to prop #1039

Closed ewedlund closed 5 months ago

ewedlund commented 6 months ago

Fixes #1033

PR Checklist

Short description of what this resolves:

Removed the unused assignment to to, allowing it to be passed on to the tag element, so that it works with react-router Link and NavLink

Changes proposed in this Pull Request:

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
design-react-kit ✅ Ready (Inspect) Visit Preview Mar 25, 2024 11:40am
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.47%. Comparing base (61edd6e) to head (78c5cfb).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1039 +/- ## ========================================== - Coverage 94.47% 94.47% -0.01% ========================================== Files 291 291 Lines 3003 3002 -1 Branches 766 766 ========================================== - Hits 2837 2836 -1 Misses 155 155 Partials 11 11 ``` | [Flag](https://app.codecov.io/gh/italia/design-react-kit/pull/1039/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=italia) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/italia/design-react-kit/pull/1039/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=italia) | `94.47% <ø> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=italia#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.