From f1f82ca71a1be5dfd12cf1befee141df7451e50c Mon Sep 17 00:00:00 2001 From: "t.chigvintseva" Date: Thu, 13 Jun 2024 17:07:14 +0300 Subject: [PATCH] fix: markup for content of custom alert --- packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx | 4 ++-- packages/mobile/src/main/ts/custom-alert/CustomAlert.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx b/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx index 2c1e42eb6..5298e2475 100644 --- a/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx +++ b/packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx @@ -45,8 +45,8 @@ export const CustomAlert: FC = ({ pl={6} pr={onHide !== undefined ? 18 : 6} > - {icon && {icon}} - + {icon && {icon}} + {children} {onHide !== undefined ? ( diff --git a/packages/mobile/src/main/ts/custom-alert/CustomAlert.tsx b/packages/mobile/src/main/ts/custom-alert/CustomAlert.tsx index db72876ba..06cd0737c 100644 --- a/packages/mobile/src/main/ts/custom-alert/CustomAlert.tsx +++ b/packages/mobile/src/main/ts/custom-alert/CustomAlert.tsx @@ -45,8 +45,8 @@ export const CustomAlert: FC = ({ pl={4} pr={onHide !== undefined ? 14 : 4} > - {icon && {icon}} - + {icon && {icon}} + {children} {onHide !== undefined ? (