Skip to content

Commit 14a9047

Browse files
authored
chore(layout): remove Facebook Pixel integration and related files to streamline the codebase and reduce dependencies (#33)
chore(tsconfig): update include paths to reflect the removal of Facebook Pixel scripts
1 parent 9ebe0a3 commit 14a9047

File tree

4 files changed

+1
-60
lines changed

4 files changed

+1
-60
lines changed

app/[locale]/layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { Header } from "@/features/layout/Header";
1313
import { Footer } from "@/features/layout/Footer";
1414
import { TailwindIndicator } from "@/components/utils/TailwindIndicator";
1515
import { NextTopLoader } from "@/components/ui/next-top-loader";
16-
import FacebookPixel from "@/components/FacebookPixel";
1716

1817
import { Providers } from "./providers";
1918

@@ -163,7 +162,6 @@ export default async function RootLayout({ params, children }: RootLayoutProps)
163162
</div>
164163

165164
<TailwindIndicator />
166-
<FacebookPixel />
167165
</Providers>
168166
</body>
169167
</html>

public/scripts/pixel.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/components/FacebookPixel.tsx

Lines changed: 0 additions & 34 deletions
This file was deleted.

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
]
2828
},
2929
"exclude": ["node_modules", "src/utils/inapp.js", "src/utils/externalLinkOpener.js", "src/utils/browserEscape.js"],
30-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "tailwind.config.ts", "public/scripts/pixel.js"]
30+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "tailwind.config.ts"]
3131
}

0 commit comments

Comments
 (0)