Skip to content

Commit

Permalink
fix: codacy identation suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
agnezi committed Feb 19, 2024
1 parent e23ef0b commit 84e0daf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/yoga/src/Heading/web/RightButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const ButtonIcon = styled(Button.Icon)`
components: { heading },
},
},
}) =>
css`
}) => {
return css`
min-width: ${heading.button.width}px;
max-width: ${heading.button.width}px;
height: ${heading.button.height}px;
Expand All @@ -27,7 +27,8 @@ const ButtonIcon = styled(Button.Icon)`
:not(:last-of-type) {
margin-right: ${heading.button.marginRight}px;
}
`};
`;
}};
`;

const RightButton = ({ onClick, icon, ...props }) => (
Expand Down

0 comments on commit 84e0daf

Please sign in to comment.