diff --git a/packages/components/src/theme/ThemeProvider.tsx b/packages/components/src/theme/ThemeProvider.tsx
index d4d6291936..31dab2c533 100644
--- a/packages/components/src/theme/ThemeProvider.tsx
+++ b/packages/components/src/theme/ThemeProvider.tsx
@@ -73,14 +73,14 @@ export function ThemeProvider({
return (
{activeThemes == null ? null : (
-
+ <>
{activeThemes.map(theme => (
))}
- {children}
-
+ {children}
+ >
)}
);
diff --git a/packages/components/src/theme/__snapshots__/ThemeProvider.test.tsx.snap b/packages/components/src/theme/__snapshots__/ThemeProvider.test.tsx.snap
index 958a0f9a39..34e48b8154 100644
--- a/packages/components/src/theme/__snapshots__/ThemeProvider.test.tsx.snap
+++ b/packages/components/src/theme/__snapshots__/ThemeProvider.test.tsx.snap
@@ -3,17 +3,17 @@
exports[`ThemeProvider setSelectedThemeKey: [ [Object] ] should change selected theme: default-light 1`] = `
+
-
Child
@@ -25,24 +25,24 @@ exports[`ThemeProvider setSelectedThemeKey: [ [Object] ] should change selected
exports[`ThemeProvider setSelectedThemeKey: [ [Object] ] should change selected theme: themeA 1`] = `
+
+
-
-
Child
@@ -66,24 +66,24 @@ exports[`ThemeProvider setSelectedThemeKey: null should change selected theme: t
exports[`ThemeProvider should load themes based on preload data or default: [ [Object] ], { themeKey: 'themeA' } 1`] = `
+
+
-
-
Child
@@ -95,21 +95,21 @@ mock-theme-dark-components
exports[`ThemeProvider should load themes based on preload data or default: [ [Object] ], null 1`] = `