Skip to content

Commit

Permalink
Removed an unused variable, put the preview text spaces into a div to…
Browse files Browse the repository at this point in the history
… hide them in the element inspector
  • Loading branch information
crismali committed Oct 13, 2023
1 parent 842491c commit 1944de6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/templates/EmailEditorContent/PreviewTextHtml.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const PreviewTextHtml: FC = () => {

const AHundredNonBreakingSpaces: FC = () => {
return (
<>
<div>
<div style={styles}>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div style={styles}>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div style={styles}>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
Expand All @@ -26,7 +26,7 @@ const AHundredNonBreakingSpaces: FC = () => {
<div style={styles}>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div style={styles}>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
<div style={styles}>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
</>
</div>
)
}

Expand Down
2 changes: 1 addition & 1 deletion src/templates/EmailTemplateSubComponents/ProgramName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<EmailSubComponentProps> = ({ id, componentId }) => {
const { activate } = useIsCurrentlyActiveEmailSubComponent(componentId, id)
Expand Down

0 comments on commit 1944de6

Please sign in to comment.