From 44cb577f8a759d84339627d669b7cf53a5982bab Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 13 Nov 2020 10:54:03 +0000 Subject: [PATCH] lint --- .../userInterface/ComponentSelectionList.svelte | 8 ++------ packages/standard-components/src/Navigation.svelte | 4 +--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/packages/builder/src/components/userInterface/ComponentSelectionList.svelte b/packages/builder/src/components/userInterface/ComponentSelectionList.svelte index ba29c0a24e..f099984e5a 100644 --- a/packages/builder/src/components/userInterface/ComponentSelectionList.svelte +++ b/packages/builder/src/components/userInterface/ComponentSelectionList.svelte @@ -39,13 +39,9 @@ class="category" on:click={() => onCategoryChosen(category, idx)} class:active={idx === selectedIndex}> - {#if category.icon} - - {/if} + {#if category.icon}{/if} {category.name} - {#if category.isCategory} - - {/if} + {#if category.isCategory}{/if} {/each} diff --git a/packages/standard-components/src/Navigation.svelte b/packages/standard-components/src/Navigation.svelte index 05a8d9f3a3..dda860414d 100644 --- a/packages/standard-components/src/Navigation.svelte +++ b/packages/standard-components/src/Navigation.svelte @@ -35,9 +35,7 @@ {#if logoUrl} {/if} - {#if title} - {title} - {/if} + {#if title}{title}{/if}