diff --git a/apps/user/next.config.js b/apps/user/next.config.js index c8cd5d95a..577fd1d88 100644 --- a/apps/user/next.config.js +++ b/apps/user/next.config.js @@ -1,4 +1,7 @@ /** @type {import('next').NextConfig} */ module.exports = { transpilePackages: ['@maru/ui'], + compiler: { + styledComponents: true, + }, }; diff --git a/apps/user/src/app/layout.tsx b/apps/user/src/app/layout.tsx index 62060e387..f0ed98307 100644 --- a/apps/user/src/app/layout.tsx +++ b/apps/user/src/app/layout.tsx @@ -1,4 +1,5 @@ import Provider from '@/components/Provider'; +import StyledComponentsRegistry from '@/lib/registry'; import QueryClientProvider from '@/services/QueryClientProvider'; import Script from 'next/script'; import { ReactNode } from 'react'; @@ -30,9 +31,11 @@ const Layout = ({ children }: Props) => {
-