-

{
- // Create a div with provider initial as fallback
- const target = e.target as HTMLImageElement;
- const parent = target.parentElement;
- if (parent) {
- const fallbackDiv = document.createElement('div');
- fallbackDiv.className = 'w-5 h-5 rounded-full bg-gray-200 flex items-center justify-center text-xs';
- fallbackDiv.textContent = providerDisplayName.charAt(0);
- parent.replaceChild(fallbackDiv, target);
- }
- }}
- />
-
{providerDisplayName}
-
-