Procházet zdrojové kódy

quick update

master
cyril.tsui před 2 týdny
rodič
revize
14b29eba97
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/theme/ThemeRegistry.tsx

+ 2
- 2
src/theme/ThemeRegistry.tsx Zobrazit soubor

@@ -17,7 +17,7 @@ const getLocalizationFromLang = (lang: string) => {
// Copied from https://github.com/mui/material-ui/blob/master/examples/material-ui-nextjs-ts/src/components/ThemeRegistry/ThemeRegistry.tsx
export default function ThemeRegistry({
children,
lang,
lang = "zh",
}: {
children: React.ReactNode;
lang: string;
@@ -28,7 +28,7 @@ export default function ThemeRegistry({
);
return (
<NextAppDirEmotionCacheProvider options={{ key: "mui" }}>
<ThemeProvider theme={theme}>
<ThemeProvider theme={themeWithLocale}>
<CssBaseline />
{children}
</ThemeProvider>


Načítá se…
Zrušit
Uložit