This commit is contained in:
Ildar Kamalov 2022-09-19 19:34:54 +03:00
parent 3f8f8c7253
commit 44c64893bb

View file

@ -19,11 +19,9 @@ const Tab = ({
className={tabClass} className={tabClass}
onClick={handleClick} onClick={handleClick}
> >
<div>
<svg className="tab__icon"> <svg className="tab__icon">
<use xlinkHref={`#${label.toLowerCase()}`} /> <use xlinkHref={`#${label.toLowerCase()}`} />
</svg> </svg>
</div>
{t(title || label)} {t(title || label)}
</div> </div>
); );