Skip to content

Commit

Permalink
Merge pull request #9 from lobehub/fix/vercel-analytics
Browse files Browse the repository at this point in the history
🐛 fix: vercel analytics
  • Loading branch information
rdmclin2 committed Apr 12, 2024
2 parents 0d912dd + 86f537a commit 2d18ac4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,8 @@
"vite": "^5.2.8",
"vitest": "~1.2.2",
"vitest-canvas-mock": "^0.3.3"
},
"gitmoji": {
"capitalizeTitle": false
}
}
3 changes: 1 addition & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Layout from '@/layout';

import StyleRegistry from './StyleRegistry';


const RootLayout = ({ children }: PropsWithChildren) => {
// get default theme config to use with ssr
const cookieStore = cookies();
Expand All @@ -19,7 +18,7 @@ const RootLayout = ({ children }: PropsWithChildren) => {
<StyleRegistry>
<Layout defaultAppearance={appearance?.value}>{children}</Layout>
</StyleRegistry>
<Analytics/>
<Analytics />
</body>
</html>
);
Expand Down

0 comments on commit 2d18ac4

Please sign in to comment.