{#if notices.length}
{#each notices as notice (notice.id)}
{notice.message}
dismiss(notice.id)} > ×
{/each}
{/if}