profile edit #46
@ -88,9 +88,9 @@ interface NavButtonProps {
|
||||
const NavButton = ({ to, isActive, svgPath, viewBox = '0 0 512 512' }: NavButtonProps) => (
|
||||
<Link
|
||||
to={to}
|
||||
className={btn btnMain socialNavInsideBtn ${
|
||||
className={`btn btnMain socialNavInsideBtn ${
|
||||
isActive ? 'socialNavInsideBtnActive' : ''
|
||||
}}
|
||||
}`}
|
||||
>
|
||||
<svg
|
||||
xmlns='http://www.w3.org/2000/svg'
|
||||
@ -102,4 +102,6 @@ const NavButton = ({ to, isActive, svgPath, viewBox='0 0 512 512' }: NavButtonPr
|
||||
<path d={svgPath}></path>
|
||||
</svg>
|
||||
</Link>
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user