From 5a00ece815ca167a666500179bc97d77a5394134 Mon Sep 17 00:00:00 2001 From: ttroshkina <94694644+ttroshkina@users.noreply.github.com> Date: Thu, 13 Jun 2024 17:29:02 +0300 Subject: [PATCH] fix: markup for content of custom alert (#592) Co-authored-by: t.chigvintseva --- 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 ? (