Extract favicon_url to CoreComponents
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
>
|
||||
<img
|
||||
class="mr-2"
|
||||
src={MusicLibrary.Artists.favicon_url(external_link)}
|
||||
src={favicon_url(external_link.url)}
|
||||
alt={external_link.name}
|
||||
loading="lazy"
|
||||
/>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<div class="min-w-0">
|
||||
<div class="flex items-center gap-x-2">
|
||||
<img
|
||||
src={MusicLibrary.OnlineStoreTemplates.favicon_url(template)}
|
||||
src={favicon_url(template.url_template)}
|
||||
alt={template.name}
|
||||
/>
|
||||
<p class="text-sm font-semibold text-gray-900 dark:text-white">
|
||||
|
||||
@@ -290,7 +290,7 @@
|
||||
>
|
||||
<img
|
||||
class="mr-2"
|
||||
src={MusicLibrary.OnlineStoreTemplates.favicon_url(template)}
|
||||
src={favicon_url(template.url_template)}
|
||||
alt={template.name}
|
||||
loading="lazy"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user