Remove unnecessary fallback to empty image version string

Images always have a hash now, so fallback is not needed anymore.
This commit is contained in:
Claudio Ortolina
2024-12-23 23:30:57 +00:00
parent eabae0654f
commit 326b226d96
4 changed files with 5 additions and 5 deletions
@@ -2,7 +2,7 @@
<div class="drop-shadow md:max-w-[38rem]">
<img
class="w-full rounded-lg drop-shadow"
src={~p"/covers/#{@record.id}?vsn=#{@record.cover_hash || ""}"}
src={~p"/covers/#{@record.id}?vsn=#{@record.cover_hash}"}
alt={@record.title}
/>
</div>