Skip to content

Commit

Permalink
Update _app.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq authored Oct 30, 2023
1 parent 8059281 commit 433fc38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable no-mixed-spaces-and-tabs */
import 'react-loading-skeleton/dist/skeleton.css';
import '../styles/globals.css';

import { GA_MEASUREMENT_ID, RECAPTCHA_SITE_KEY, jitsuConfiguration } from '@app/constants';
import { JitsuProvider } from '@jitsu/jitsu-react';
import { Analytics } from '@vercel/analytics/react';
Expand All @@ -16,12 +15,13 @@ import { SkeletonTheme } from 'react-loading-skeleton';
import { RecoilRoot } from 'recoil';
import { JitsuAnalytics } from '../lib/components/services/jitsu-analytics';
import i18n from '../ni18n.config';

const MyApp = ({ Component, pageProps }: AppProps) => {
const isJitsuEnvsPresent = jitsuConfiguration.host && jitsuConfiguration.writeKey;
return (
<>

{RECAPTCHA_SITE_KEY && (
{GA_MEASUREMENT_ID && (
<>
<Script
strategy="lazyOnload"
Expand Down

0 comments on commit 433fc38

Please sign in to comment.