From 8249ea0203f63f44384d178e063b2ba1cada2ffa Mon Sep 17 00:00:00 2001 From: ncdiehl11 Date: Wed, 7 Aug 2024 13:56:40 -0400 Subject: [PATCH] refactor(app): fix title element props in LabwareStackModal Pass `LegacyModal` title text and icon elements as separate props in `LabwareStackModal` --- .../ProtocolRun/SetupLabware/LabwareStackModal.tsx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/src/organisms/Devices/ProtocolRun/SetupLabware/LabwareStackModal.tsx b/app/src/organisms/Devices/ProtocolRun/SetupLabware/LabwareStackModal.tsx index b65a8b38eb4..83fdf1d9260 100644 --- a/app/src/organisms/Devices/ProtocolRun/SetupLabware/LabwareStackModal.tsx +++ b/app/src/organisms/Devices/ProtocolRun/SetupLabware/LabwareStackModal.tsx @@ -155,13 +155,9 @@ export const LabwareStackModal = ( - - - {t('stacked_slot')} - - } + title={t('stacked_slot')} + titleElement1={} + titleElement2={} childrenPadding={0} marginLeft="0" >