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:
@@ -26,7 +26,7 @@ defmodule MusicLibraryWeb.RecordComponents do
|
||||
<img
|
||||
class="w-20 flex-none rounded-lg"
|
||||
alt={record.title}
|
||||
src={~p"/covers/#{record.id}?vsn=#{record.cover_hash || ""}"}
|
||||
src={~p"/covers/#{record.id}?vsn=#{record.cover_hash}"}
|
||||
/>
|
||||
<div class="min-w-0 flex-auto">
|
||||
<h1 class="text-sm leading-6 text-zinc-700">
|
||||
|
||||
Reference in New Issue
Block a user