feat(icon): Hide the icon when there is no href value
Hide the icon when the social link is empty.
This commit is contained in:
		| @@ -17,6 +17,8 @@ const components = { | ||||
| } | ||||
|  | ||||
| const SocialIcon = ({ kind, href, size = 8 }) => { | ||||
|   if (!href) return null | ||||
|  | ||||
|   const SocialSvg = components[kind] | ||||
|  | ||||
|   return ( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user