diff --git a/src/admin/insights/AdminAppInsightsClient.tsx b/src/admin/insights/AdminAppInsightsClient.tsx index 87b3759e..3f30db8b 100644 --- a/src/admin/insights/AdminAppInsightsClient.tsx +++ b/src/admin/insights/AdminAppInsightsClient.tsx @@ -269,17 +269,23 @@ export default function AdminAppInsightsClient({ !isExpanded, )} expandContent={
- Future versions of this template will not build correctly - when including the following deprecated environment variables: + Future versions of this template may not build correctly + with the following deprecated environment variables:
{usedDeprecatedEnvVars.map(({ old, replacement }) => ( -
{old}
- +
{old}
+
))} diff --git a/src/components/ImageInput.tsx b/src/components/ImageInput.tsx index e771edbc..35993005 100644 --- a/src/components/ImageInput.tsx +++ b/src/components/ImageInput.tsx @@ -132,7 +132,7 @@ export default function ImageInput({ '2d', { colorSpace: 'display-p3' }, ); - if ((shouldResize || isPng) && canvas && ctx) { + if (shouldResize && canvas && ctx) { // Process images that need resizing const image = await blobToImage(file); diff --git a/src/components/ScoreCardRow.tsx b/src/components/ScoreCardRow.tsx index 6eb06fd8..97fa05a8 100644 --- a/src/components/ScoreCardRow.tsx +++ b/src/components/ScoreCardRow.tsx @@ -41,9 +41,15 @@ export default function ScoreCardRow({ )}> {icon}
-
+
{typeof content === 'function'