Skip to content

Commit

Permalink
fix: Visual spacing for method docs with no args
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 5, 2020
1 parent 5f35bde commit 1089340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/FunctionDefinition.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ const FunctionDefinition = ({ params, returnValue }) => {
/>
</div>
))}
{params.length > 0 && <span className={styles.keyword}>) </span>}
<span className={styles.keyword}>=> </span>
{params.length > 0 && <span className={styles.keyword}>)</span>}
<span className={styles.keyword}> => </span>
<span className={styles.type}>{returnValue.type}</span>
</div>
);
Expand Down

0 comments on commit 1089340

Please sign in to comment.