dhre-ui-kit 0.0.213 → 0.0.214
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -252,7 +252,7 @@ const ThemeContext = createContext(void 0);
|
|
|
252
252
|
const ThemeProvider = ({ children }) => {
|
|
253
253
|
const mode = useSelector((state) => state.theme.currentTheme);
|
|
254
254
|
const filteredTheme = Object.keys(theme).reduce((acc, key) => {
|
|
255
|
-
acc[key] = theme[key]
|
|
255
|
+
acc[key] = theme[key];
|
|
256
256
|
return acc;
|
|
257
257
|
}, {});
|
|
258
258
|
return /* @__PURE__ */ React.createElement(ThemeContext.Provider, { value: { theme: filteredTheme, mode } }, children);
|