Skip to content

Commit 01dff78

Browse files
committed
chore: remove unnecessary container
1 parent d4e198e commit 01dff78

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

packages/ui-components/src/Common/Signature/SignatureRoot/index.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
.root {
15-
@apply mb-1
15+
@apply mb-3
1616
flex
1717
flex-col
1818
gap-4

packages/ui-components/src/Containers/FunctionSignature/index.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,11 @@ const FunctionSignature: FC<FunctionSignatureProps> = ({ title, items }) => {
4141
<Signature title={title}>
4242
{attributes.map((param, i) => renderSignature(param, i))}
4343
</Signature>
44-
{returnTypes.length > 0 && (
45-
<Signature>
46-
{returnTypes.map((param, i) =>
47-
renderSignature(param, attributes.length + i)
48-
)}
49-
</Signature>
50-
)}
44+
45+
{returnTypes.length > 0 &&
46+
returnTypes.map((param, i) =>
47+
renderSignature(param, attributes.length + i)
48+
)}
5149
</>
5250
);
5351
}

0 commit comments

Comments
 (0)