Merge pull request #2205 from ImDarkShadow/main

fix(linkedin): use case-insensitive slug check to prevent missing image
This commit is contained in:
Amruth Pillai
2025-10-01 11:29:55 +02:00
committed by GitHub

View File

@ -5,7 +5,7 @@ type BrandIconProps = {
};
export const BrandIcon = forwardRef<HTMLImageElement, BrandIconProps>(({ slug }, ref) => {
if (slug === "linkedin") {
if (slug.toLowerCase() === "linkedin") {
return (
<img
ref={ref}