chore: remove fragment

This commit is contained in:
Mark Kaylor 2025-07-08 11:07:41 +02:00
parent 590c24ce65
commit 8ed7454f69

View File

@ -100,17 +100,15 @@ const createStepComponents = (tourName: ValidTourName): Step => ({
},
Content: (props) => (
<>
<Box paddingBottom={5} paddingLeft={5} paddingRight={5} width="100%">
{'children' in props ? (
props.children
) : (
<Typography tag="div" variant="omega">
<FormattedMessage tagName="p" id={props.id} defaultMessage={props.defaultMessage} />
</Typography>
)}
</Box>
</>
<Box paddingBottom={5} paddingLeft={5} paddingRight={5} width="100%">
{'children' in props ? (
props.children
) : (
<Typography tag="div" variant="omega">
<FormattedMessage tagName="p" id={props.id} defaultMessage={props.defaultMessage} />
</Typography>
)}
</Box>
),
Actions: ({ showStepCount = true, showSkip = false, to, ...props }) => {