lint
This commit is contained in:
parent
ea09c6e459
commit
44cb577f8a
|
@ -39,13 +39,9 @@
|
||||||
class="category"
|
class="category"
|
||||||
on:click={() => onCategoryChosen(category, idx)}
|
on:click={() => onCategoryChosen(category, idx)}
|
||||||
class:active={idx === selectedIndex}>
|
class:active={idx === selectedIndex}>
|
||||||
{#if category.icon}
|
{#if category.icon}<i class={category.icon} />{/if}
|
||||||
<i class={category.icon} />
|
|
||||||
{/if}
|
|
||||||
<span>{category.name}</span>
|
<span>{category.name}</span>
|
||||||
{#if category.isCategory}
|
{#if category.isCategory}<i class="ri-arrow-down-s-line arrow" />{/if}
|
||||||
<i class="ri-arrow-down-s-line arrow" />
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -35,9 +35,7 @@
|
||||||
{#if logoUrl}
|
{#if logoUrl}
|
||||||
<img class="logo" alt="logo" src={logoUrl} height="48" />
|
<img class="logo" alt="logo" src={logoUrl} height="48" />
|
||||||
{/if}
|
{/if}
|
||||||
{#if title}
|
{#if title}<span>{title}</span>{/if}
|
||||||
<span>{title}</span>
|
|
||||||
{/if}
|
|
||||||
</a>
|
</a>
|
||||||
<div class="nav__controls">
|
<div class="nav__controls">
|
||||||
<div on:click={logOut}>Log out</div>
|
<div on:click={logOut}>Log out</div>
|
||||||
|
|
Loading…
Reference in New Issue