{#if categories.length}
{#each categories as category (category.key)} {@const isActive = currentPath === category.key} {#if isActive}
{category.label}
{:else}
{category.label}
{/if} {/each}
{/if}