mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
chore: remove fragment
This commit is contained in:
parent
590c24ce65
commit
8ed7454f69
@ -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 }) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user