From 00582985b1cafad602766056a718d5791d4261fb Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Tue, 11 Feb 2025 18:18:54 -0600 Subject: [PATCH] Enable insights debugging in preview --- src/admin/AdminAppInsights.tsx | 4 ++-- src/admin/AdminAppInsightsClient.tsx | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/admin/AdminAppInsights.tsx b/src/admin/AdminAppInsights.tsx index 9d489ba3..58286cda 100644 --- a/src/admin/AdminAppInsights.tsx +++ b/src/admin/AdminAppInsights.tsx @@ -6,7 +6,7 @@ import { getUniqueTags, } from '@/photo/db/query'; import AdminAppInsightsClient from './AdminAppInsightsClient'; -import { APP_CONFIGURATION, IS_DEVELOPMENT } from '@/app-core/config'; +import { APP_CONFIGURATION } from '@/app-core/config'; export default async function AdminAppInsights() { const [ { count, dateRange }, @@ -43,7 +43,7 @@ export default async function AdminAppInsights() { lensesCount: lenses.length, dateRange, }} - debug={IS_DEVELOPMENT} + debug /> ); } diff --git a/src/admin/AdminAppInsightsClient.tsx b/src/admin/AdminAppInsightsClient.tsx index 549fe9c8..9c755287 100644 --- a/src/admin/AdminAppInsightsClient.tsx +++ b/src/admin/AdminAppInsightsClient.tsx @@ -64,8 +64,7 @@ export default function AdminAppInsightsClient({ {renderTitle('Code Observability')} {(fork || debug) && }> - Consider forking this repository in order to - receive new features and fixes + Consider forking this repository to receive new features and fixes } {(forkBehind || debug) &&