From 555e8f65eb5759e0cb3db91b0bdfda8949330b83 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 15 Feb 2025 11:07:28 -0600 Subject: [PATCH] Debug on preview --- src/admin/insights/AdminAppInsights.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/admin/insights/AdminAppInsights.tsx b/src/admin/insights/AdminAppInsights.tsx index 1a1b8dc1..140fde37 100644 --- a/src/admin/insights/AdminAppInsights.tsx +++ b/src/admin/insights/AdminAppInsights.tsx @@ -11,6 +11,7 @@ import { GRID_HOMEPAGE_ENABLED, HAS_STATIC_OPTIMIZATION, IS_DEVELOPMENT, + IS_PRODUCTION, IS_VERCEL_GIT_PROVIDER_GITHUB, MATTE_PHOTOS, VERCEL_GIT_BRANCH, @@ -89,7 +90,7 @@ export default async function AdminAppInsights() { lensesCount: lenses.length, dateRange, }} - debug={IS_DEVELOPMENT} + debug={!IS_PRODUCTION} /> ); }