Skip to content

Conversation

@broccolinisoup
Copy link
Member

@broccolinisoup broccolinisoup commented Mar 22, 2023

As described in this issue, I realised that the same behaviour occurs in multiple components.

Not rendering the activeClassName when there is no to prop seems to resolve the issue.

Closes #3060
Closes #2847

Screenshots

No visual change

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@broccolinisoup broccolinisoup added the skip changeset This change does not need a changelog label Mar 22, 2023
@broccolinisoup broccolinisoup requested review from a team and josepmartins March 22, 2023 06:35
@changeset-bot
Copy link

changeset-bot bot commented Mar 22, 2023

🦋 Changeset detected

Latest commit: f6b1096

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Mar 22, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 95.04 KB (+0.01% 🔺)
dist/browser.umd.js 95.58 KB (+0.01% 🔺)

@broccolinisoup broccolinisoup temporarily deployed to github-pages March 22, 2023 06:41 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3061 March 22, 2023 06:42 Inactive
@broccolinisoup broccolinisoup removed the skip changeset This change does not need a changelog label Mar 22, 2023
@broccolinisoup broccolinisoup changed the title do not render the activeclassname when there is no prop 'to' Stop rendering activeClassName when there is no to prop is passed for react-router Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants