Skip to content

Commit

Permalink
Fix text setup of Next app router (and export default for older next)
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Jul 14, 2023
1 parent de18200 commit 07a7c83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/next/appDir.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ export function NextAppDirEmotionCacheProvider(

return <CacheProvider value={cache}>{children}</CacheProvider>;
}

export default NextAppDirEmotionCacheProvider;
2 changes: 1 addition & 1 deletion src/test/apps/next-appdir/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import AppMuiThemeProvider from "../shared/AppMuiThemeProvider";
import { NextAppDirEmotionCacheProvider } from "tss-react/next/appDir";
import NextAppDirEmotionCacheProvider from "tss-react/next/appDir";
//import { TssCacheProvider } from "tss-react";

export default function RootLayout({ children }: { children: JSX.Element }) {
Expand Down

0 comments on commit 07a7c83

Please sign in to comment.