Skip to content

Commit

Permalink
Version 1.0.9.
Browse files Browse the repository at this point in the history
Bug fixed.
  • Loading branch information
ATATC committed Jun 27, 2023
1 parent a1a8e10 commit fe6b886
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@atatctech/mui-theme",
"type": "module",
"version": "1.0.8",
"version": "1.0.9",
"author": "ATATC",
"description": "The ultimate dynamic theme-switching solution for MUI that adapts to SSR.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/theme.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/theme.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function Theme(props: {readonly themeMode?: StrictThemeMode, readonly the
const systemThemeMode = useSystemThemeMode();
const themeMode = props.themeMode == null ? systemThemeMode : requireStrictThemeMode(props.themeMode, systemThemeMode);
const themeConfig = props.themeConfig == null ? defaultThemeConfig : props.themeConfig;
const theme = useMemo(() => createTheme(themeConfig(themeMode)), [themeConfig]);
const theme = useMemo(() => createTheme(themeConfig(themeMode)), [themeMode]);
return (
<ThemeProvider theme={theme}>
<CssBaseline/>
Expand Down

0 comments on commit fe6b886

Please sign in to comment.