diff --git a/src/components/resolvedicon.jsx b/src/components/resolvedicon.jsx index 50b8c926..4858f3d5 100644 --- a/src/components/resolvedicon.jsx +++ b/src/components/resolvedicon.jsx @@ -116,6 +116,25 @@ export default function ResolvedIcon({ icon, width = 32, height = 32, alt = "log ); } + if (icon.endsWith(".webp")) { + const iconName = icon.replace(".webp", ""); + return ( + {alt} + ); + } + const iconName = icon.replace(".png", ""); return ( log
       alt={alt}
     />
   );
-
-  const iconName = icon.replace( - ); }