diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx index 4e5c238fd692..404a92093119 100644 --- a/src/components/Banner.tsx +++ b/src/components/Banner.tsx @@ -93,17 +93,18 @@ function Banner({ )} {content && content} - {shouldRenderHTML && text ? ( - - ) : ( - - {text} - - )} + {text && + (shouldRenderHTML ? ( + + ) : ( + + {text} + + ))} {shouldShowCloseButton && !!onClose && ( diff --git a/src/pages/home/report/SystemChatReportFooterMessage.tsx b/src/pages/home/report/SystemChatReportFooterMessage.tsx index 6d739762c610..517bc437d597 100644 --- a/src/pages/home/report/SystemChatReportFooterMessage.tsx +++ b/src/pages/home/report/SystemChatReportFooterMessage.tsx @@ -70,7 +70,14 @@ function SystemChatReportFooterMessage({choice, policies, activePolicyID}: Syste containerStyles={[styles.chatFooterBanner]} shouldShowIcon icon={Expensicons.Lightbulb} - content={{content}} + content={ + + {content} + + } /> ); }