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.js
CHANGED
|
@@ -286,7 +286,7 @@ const ThemeContext = React.createContext(void 0);
|
|
|
286
286
|
const ThemeProvider = ({ children }) => {
|
|
287
287
|
const mode = reactRedux.useSelector((state) => state.theme.currentTheme);
|
|
288
288
|
const filteredTheme = Object.keys(theme).reduce((acc, key) => {
|
|
289
|
-
acc[key] = theme[key]
|
|
289
|
+
acc[key] = theme[key];
|
|
290
290
|
return acc;
|
|
291
291
|
}, {});
|
|
292
292
|
return /* @__PURE__ */ React__default["default"].createElement(ThemeContext.Provider, { value: { theme: filteredTheme, mode } }, children);
|