From 28244c9519e321b4c657179c647a3b91939a8899 Mon Sep 17 00:00:00 2001 From: John Easton Date: Mon, 4 Jul 2022 18:23:09 +0100 Subject: [PATCH] fix: no analytics for local dev --- site/pages/_app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/pages/_app.tsx b/site/pages/_app.tsx index 6c4c359..84d8daa 100644 --- a/site/pages/_app.tsx +++ b/site/pages/_app.tsx @@ -29,7 +29,7 @@ function MyApp({ Component, pageProps }) { <> - {process.browser && ( + {process.browser && process.env.NODE_ENV === 'production' && (