Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tiplutom
Copy link
Contributor

This PR fixes Issue #561, which was quite annoying for us when using ladle in dev mode.
I added a playwright test and ensured that it actually fails without my change.

The change was made according to the prism react renderer documentation (https://www.npmjs.com/package/prism-react-renderer#usage), where there is no key in the getTokenProps function. It seems like this prop is just forwarded.

@changeset-bot
Copy link

changeset-bot bot commented Mar 17, 2025

🦋 Changeset detected

Latest commit: efcf2fe

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

This PR includes changesets to release 13 packages
Name Type
@ladle/react Patch
test-addons Patch
example Patch
test-babel Patch
test-config Patch
test-config-ts Patch
test-css Patch
test-decorators Patch
test-playwright Patch
test-programmatic Patch
test-provider Patch
test-baseweb Patch
test-msw 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

@tajo tajo merged commit 189cd5a into tajo:main Mar 20, 2025
2 checks passed
@tajo tajo mentioned this pull request Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants