Skip to content

Commit

Permalink
fix(docs): remove extra comma between code examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Jan 28, 2021
1 parent 2f2e1fd commit 6621e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/docs-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ ${description.value}` : ''}${examples.length > 0 ? `
${examples.map(example => {
const fileName = example.split('/').pop().replace('.js', '');
return `<ExampleComponent source="${name}/${fileName}" name="${fileName.replace('-', ' ')}" />`;
})}` : ''}
}).join('')}` : ''}
${API.props ? `## Props
Expand Down

0 comments on commit 6621e1f

Please sign in to comment.