Skip to content

Commit

Permalink
refactor: adjust code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mavericardo committed Nov 19, 2024
1 parent 434fcaf commit 020859a
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions packages/yoga/src/ActionRequirement/web/ActionRequirement.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,18 @@ function ActionRequirement(props) {
defineCompoundComponents();
return (
<StyledActionRequirement {...props}>
{illustration &&
(
<BoxIllustration aria-hidden="true">
{illustration}
</BoxIllustration>
)
}
{illustration && (

Check failure on line 76 in packages/yoga/src/ActionRequirement/web/ActionRequirement.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Delete `··`
<BoxIllustration aria-hidden="true">{illustration}</BoxIllustration>

Check failure on line 77 in packages/yoga/src/ActionRequirement/web/ActionRequirement.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Delete `··`
)}

Check failure on line 78 in packages/yoga/src/ActionRequirement/web/ActionRequirement.jsx

View workflow job for this annotation

GitHub Actions / linter_and_tests

Replace `··)}⏎` with `)}`


<Content>
{titleAsTextDisplay ? (
<Text.Display2 as="h1" aria-label={title}>
{title}
</Text.Display2>
) : (
<Title aria-label={title}>
{title}
</Title>
<Title aria-label={title}>{title}</Title>
)}
<Text.Body1 mt="small" color="deep" aria-label={description}>
{description}
Expand Down

0 comments on commit 020859a

Please sign in to comment.