From 827bcffa4de26b753d9db75e1eee2e94dfb44904 Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Thu, 11 Apr 2024 08:39:15 +0200 Subject: [PATCH] refactor: code style --- showcases/patternhub/scripts/get-properties-file.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/showcases/patternhub/scripts/get-properties-file.js b/showcases/patternhub/scripts/get-properties-file.js index b5260d817d8..07c582c1474 100644 --- a/showcases/patternhub/scripts/get-properties-file.js +++ b/showcases/patternhub/scripts/get-properties-file.js @@ -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 += `| ${