{#each studySpaces as studySpace (studySpace.id)} {@const imgUrl = studySpace.study_space_images.length > 0 ? supabase.storage .from("files_bucket") .getPublicUrl(studySpace.study_space_images[0].image_path).data.publicUrl : defaultImg} {#snippet description()}

{studySpace.title}

{/snippet}
{/each}
{ e.preventDefault(); uploadStudySpace(); }} >