{$i18n.t('Chat Controls')}
{#if chatFiles.length > 0}
{#each chatFiles as file, fileIdx} { // Remove the file from the chatFiles array chatFiles.splice(fileIdx, 1); chatFiles = chatFiles; }} on:click={() => { console.log(file); }} /> {/each}

{/if}