Skip to content

Commit

Permalink
Fix Next App Router integration setup
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Jul 2, 2023
1 parent d193e11 commit 70548c5
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 70548c5

Please sign in to comment.