Skip to content

Commit

Permalink
refactor: code style
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Apr 11, 2024
1 parent e8814c4 commit 827bcff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions showcases/patternhub/scripts/get-properties-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ const getPropertiesFile = ({ displayName, description, props }) => {
} `;
propertyTable += `| ${property.tsType.type ?? property.tsType.name} `;

if (
['icon', 'iconAfter', 'messageIcon'].includes(propertyKey)
) {
if (['icon', 'iconAfter', 'messageIcon'].includes(propertyKey)) {
propertyTable += `| [IconTypes](https://db-ui.github.io/mono/review/main/foundations/icons/overview) |\n`;
} else {
propertyTable += `| ${
Expand Down

0 comments on commit 827bcff

Please sign in to comment.