From 6da15dfa861f837c165daa25fbd2eb0fd5443fe4 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Fri, 14 Feb 2025 08:53:20 -0600 Subject: [PATCH] Use component in insights --- src/admin/insights/AdminAppInsightsClient.tsx | 3 ++- src/components/EnvVar.tsx | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/admin/insights/AdminAppInsightsClient.tsx b/src/admin/insights/AdminAppInsightsClient.tsx index 9cb35517..b38994c3 100644 --- a/src/admin/insights/AdminAppInsightsClient.tsx +++ b/src/admin/insights/AdminAppInsightsClient.tsx @@ -26,6 +26,7 @@ import { VERCEL_GIT_COMMIT_MESSAGE, } from '@/app-core/config'; import { AdminAppInsight } from '.'; +import EnvVar from '@/components/EnvVar'; const DEBUG_COMMIT_SHA = '4cd29ed'; const DEBUG_COMMIT_MESSAGE = 'Long commit message for debugging purposes'; @@ -145,7 +146,7 @@ export default function AdminAppInsightsClient({ content="You seem to have several vertical photos—consider enabling matting to make portrait and landscape photos appear more consistent" additionalContent={<> Enabled photo matting by setting - `NEXT_PUBLIC_MATTE_PHOTOS = 1` + } /> - {variable} + {variable}{value && ` = ${value}`} {includeCopyButton && }