added auto detect branch name and version tag

This commit is contained in:
Anirban Kar
2024-12-16 01:54:24 +05:30
parent c4f94aa517
commit 885e104f27
11 changed files with 79 additions and 65 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`}