fix(linkedin): use case-insensitive slug check to prevent missing image

This commit is contained in:
Pritam Das
2025-02-04 00:02:43 +05:30
parent ec4e43d4fc
commit 37781d51f3

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}