Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dapp-kit] fix edge case where the theme style element breaks when us…
…ed in Next apps (#17801) ## Description If you render a `style` tag outside of the `body` element in canary versions of React, you get a breaking error informing you to specify a precedence/href prop. This PR adds those props which should fix #17794 ## Test plan - Tested manually with a Next 14.2.3 app - https://sui-typescript-docs-git-wrobertson-dappkitstylefix-mysten-labs.vercel.app/dapp-kit/wallet-components/ConnectButton still works --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK:
- Loading branch information