Skip to content

Commit

Permalink
feat: removing plausible provider from project (#737)
Browse files Browse the repository at this point in the history
* feat: removing plausible provider from project

* getting back  script
  • Loading branch information
DhairyaMajmudar authored Jun 6, 2024
1 parent 257bf7f commit b0fdb07
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 1 addition & 10 deletions components/SiteLayout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import PlausibleProvider from 'next-plausible';
import Layout from '../components/Layout';

type SiteLayoutProps = {
Expand All @@ -17,13 +16,5 @@ export const getLayout = (
page: React.ReactNode,
props?: SiteLayoutProps,
): JSX.Element => {
return (
<PlausibleProvider
domain='json-schema.org'
trackLocalhost={true}
trackOutboundLinks={true}
>
<SiteLayout {...props}>{page}</SiteLayout>
</PlausibleProvider>
);
return <SiteLayout {...props}>{page}</SiteLayout>;
};
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"markdown-to-jsx": "^7.1.6",
"moment": "2.29.4",
"next": "14.1.1",
"next-plausible": "^3.11.1",
"next-sitemap": "^4.2.3",
"next-themes": "^0.2.1",
"node-ical": "0.16.1",
Expand Down

0 comments on commit b0fdb07

Please sign in to comment.