mirror of
https://github.com/strapi/strapi.git
synced 2025-11-25 14:41:15 +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) => (
|
Content: (props) => (
|
||||||
<>
|
<Box paddingBottom={5} paddingLeft={5} paddingRight={5} width="100%">
|
||||||
<Box paddingBottom={5} paddingLeft={5} paddingRight={5} width="100%">
|
{'children' in props ? (
|
||||||
{'children' in props ? (
|
props.children
|
||||||
props.children
|
) : (
|
||||||
) : (
|
<Typography tag="div" variant="omega">
|
||||||
<Typography tag="div" variant="omega">
|
<FormattedMessage tagName="p" id={props.id} defaultMessage={props.defaultMessage} />
|
||||||
<FormattedMessage tagName="p" id={props.id} defaultMessage={props.defaultMessage} />
|
</Typography>
|
||||||
</Typography>
|
)}
|
||||||
)}
|
</Box>
|
||||||
</Box>
|
|
||||||
</>
|
|
||||||
),
|
),
|
||||||
|
|
||||||
Actions: ({ showStepCount = true, showSkip = false, to, ...props }) => {
|
Actions: ({ showStepCount = true, showSkip = false, to, ...props }) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user