Skip to content

Commit 6bb70c5

Browse files
n1313sapegin
authored andcommitted
Fix: Fix empty public methods table (#281)
1 parent bc060e8 commit 6bb70c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rsg-components/ReactComponent/ReactComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function ReactComponent({
1717
pathLine={pathLine}
1818
description={description && <Markdown text={description} />}
1919
props={props && <Props props={props} />}
20-
methods={methods && <Methods methods={methods} />}
20+
methods={methods && methods.length && <Methods methods={methods} />}
2121
examples={examples && <Examples examples={examples} name={name} />}
2222
sidebar={sidebar}
2323
/>

0 commit comments

Comments
 (0)