This commit is contained in:
eduardruzga
2024-12-16 11:09:35 +02:00
parent 1b76d3c28f
commit 070e911be1
6 changed files with 40 additions and 20 deletions

View File

@@ -56,7 +56,8 @@ export default function ProvidersTab() {
<div className="flex items-center gap-2">
<img
src={`/icons/${provider.name}.svg`} // Attempt to load the specific icon
onError={(e) => { // Fallback to default icon on error
onError={(e) => {
// Fallback to default icon on error
e.currentTarget.src = DefaultIcon;
}}
alt={`${provider.name} icon`}