diff --git a/.changeset/green-penguins-attack.md b/.changeset/green-penguins-attack.md new file mode 100644 index 0000000000000..db1e81b64e25d --- /dev/null +++ b/.changeset/green-penguins-attack.md @@ -0,0 +1,5 @@ +--- +'@mysten/dapp-kit': patch +--- + +Fix broken theme style tag in canary versions of React when the provider is placed outside of the body tag diff --git a/sdk/dapp-kit/src/components/styling/InjectedThemeStyles.tsx b/sdk/dapp-kit/src/components/styling/InjectedThemeStyles.tsx index adc8c6f1f5e73..0fde65e9c006c 100644 --- a/sdk/dapp-kit/src/components/styling/InjectedThemeStyles.tsx +++ b/sdk/dapp-kit/src/components/styling/InjectedThemeStyles.tsx @@ -18,6 +18,10 @@ export function InjectedThemeStyles({ theme }: InjectedThemeStylesProps) { return (