Browse Source

lint

pull/857/head
Martin McKeaveney 6 years ago
parent
commit
681b2df2e4
  1. 8
      packages/builder/src/components/userInterface/ComponentSelectionList.svelte
  2. 4
      packages/standard-components/src/Navigation.svelte

8
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}
<i class={category.icon} />
{/if}
{#if category.icon}<i class={category.icon} />{/if}
<span>{category.name}</span>
{#if category.isCategory}
<i class="ri-arrow-down-s-line arrow" />
{/if}
{#if category.isCategory}<i class="ri-arrow-down-s-line arrow" />{/if}
</div>
{/each}
</div>

4
packages/standard-components/src/Navigation.svelte

@ -35,9 +35,7 @@
{#if logoUrl}
<img class="logo" alt="logo" src={logoUrl} height="48" />
{/if}
{#if title}
<span>{title}</span>
{/if}
{#if title}<span>{title}</span>{/if}
</a>
<div class="nav__controls">
<div on:click={logOut}>Log out</div>

Loading…
Cancel
Save