cleaning up

This commit is contained in:
2025-11-14 14:45:21 +13:00
parent 5bbefb5310
commit 67cf780043
2 changed files with 3 additions and 10 deletions

View File

@@ -67,11 +67,7 @@ const getImageLink = async (record: any) => {
(window as any).dec = dec;
</script>
<div>
<!-- Hidden element to pass server data to client -->
<!-- Hidden element to pass server data to client -->
<div class="hidden" id="carousel-data">{JSON.stringify(photos)}</div>
<div class="flex flex-col max-h-10/12 self-center">
<img id="carousel-img" class="rounded-lg w-full h-full object-cover" src={ pb.files.getURL(photos[0], photos[0].image) } />
</div>
</div>
<img id="carousel-img" class="rounded-lg w-full h-full object-cover" src={ pb.files.getURL(photos[0], photos[0].image) } />