Skip to content

Commit

Permalink
Revert "Vercel speed Meter"
Browse files Browse the repository at this point in the history
This reverts commit badf647.
  • Loading branch information
Bhavya031 committed Mar 28, 2024
1 parent 98537e1 commit 1b1f8be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 39 deletions.
35 changes: 0 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"dependencies": {
"@nextui-org/react": "^2.2.9",
"@vercel/speed-insights": "^1.0.10",
"bootstrap": "^5.3.3",
"framer-motion": "^11.0.6",
"next": "14.1.0",
Expand Down
9 changes: 6 additions & 3 deletions src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ import { Providers } from "./providers";
import { Link } from "@nextui-org/link";
import { getServerSession } from 'next-auth';
import clsx from "clsx";
import { SpeedInsights } from '@vercel/speed-insights/next';

import { publicIp } from 'public-ip';
(async () => {
console.log(await publicIp.v4());
//=> '46.5.21.123'
})
// If loading a variable font, you don't need to specify the font weight
const QuestrialFont = Questrial({
subsets: ['latin'],
display: 'swap',
Expand All @@ -21,7 +25,6 @@ export default async function RootLayout({ children }) {
<body className={QuestrialFont.className}>
<Providers>
{children}
<SpeedInsights />
</Providers>
</body>
</html>
Expand Down

0 comments on commit 1b1f8be

Please sign in to comment.