mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
fix(linkedin): use case-insensitive slug check to prevent missing image
This commit is contained in:
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user