fix/refac: images

This commit is contained in:
Timothy Jaeryang Baek
2026-01-06 03:25:39 +04:00
parent 927a765641
commit 1148d1c927
6 changed files with 10 additions and 8 deletions
@@ -68,7 +68,7 @@
{/each}
<div class="flex items-center flex-wrap gap-2 mt-1.5">
{#each files.filter((file) => file.type === 'image') as file, fileIdx}
{#each files.filter((file) => file.type === 'image' || (file?.content_type ?? '').startsWith('image/')) as file, fileIdx}
<Image
src={file.url}
imageClassName=" size-14 rounded-xl object-cover"