Skip to content

Commit 3fcee57

Browse files
committed
chore: review updates
1 parent 01dff78 commit 3fcee57

File tree

1 file changed

+3
-1
lines changed
  • packages/ui-components/src/Containers/FunctionSignature

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ const FunctionSignature: FC<FunctionSignatureProps> = ({ title, items }) => {
3333
const returnTypes: Array<SignatureDefinition> = [];
3434

3535
for (const item of items) {
36-
(item.kind === 'return' ? returnTypes : attributes).push(item);
36+
const target = item.kind === 'return' ? returnTypes : attributes;
37+
38+
target.push(item);
3739
}
3840

3941
return (

0 commit comments

Comments
 (0)