Н
Size: a a a
Н
V
V
Н
EN
V
V

Н
V
V
V
V

VK
V
PD
const LinkWithAnchor = ({ text, anchor }) => {
const router = useRouter();
const {
basePath,
locale,
} = router;
const handleClick = (event) => {
event.preventDefault();
const href = `${basePath}/${locale}/welcome-ext-installed#${anchor}`;
router.push(
{
pathname: href,
}, href,
{ shallow: true },
);
};
return (
<h4>
<StyledLink onClick={handleClick}>
{text}
</StyledLink>
</h4>
);
};AE
Н
V
EN