From 1944de61ad97d586f4272ea0f8867e2127d3320c Mon Sep 17 00:00:00 2001 From: Michael Crismali Date: Fri, 13 Oct 2023 10:19:15 -0500 Subject: [PATCH] Removed an unused variable, put the preview text spaces into a div to hide them in the element inspector --- src/templates/EmailEditorContent/PreviewTextHtml.tsx | 4 ++-- src/templates/EmailTemplateSubComponents/ProgramName.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templates/EmailEditorContent/PreviewTextHtml.tsx b/src/templates/EmailEditorContent/PreviewTextHtml.tsx index 9d494a49..b1d37e53 100644 --- a/src/templates/EmailEditorContent/PreviewTextHtml.tsx +++ b/src/templates/EmailEditorContent/PreviewTextHtml.tsx @@ -15,7 +15,7 @@ export const PreviewTextHtml: FC = () => { const AHundredNonBreakingSpaces: FC = () => { return ( - <> +
          
          
          
@@ -26,7 +26,7 @@ const AHundredNonBreakingSpaces: FC = () => {
          
          
          
- +
) } diff --git a/src/templates/EmailTemplateSubComponents/ProgramName.tsx b/src/templates/EmailTemplateSubComponents/ProgramName.tsx index 6dc84e77..ef3f7154 100644 --- a/src/templates/EmailTemplateSubComponents/ProgramName.tsx +++ b/src/templates/EmailTemplateSubComponents/ProgramName.tsx @@ -9,7 +9,7 @@ import { EmailBlock } from 'src/ui' const defaultValue = 'Program Name' -const { Table, Row, Cell } = EmailBlock +const { Table, Row } = EmailBlock export const ProgramName: FC = ({ id, componentId }) => { const { activate } = useIsCurrentlyActiveEmailSubComponent(componentId, id)